forked from qt-creator/qt-creator
Utils: Add a CommandLine::splitArguments() convenience function
... and use it from within new SynchronousProcess functions taking CommandLine arguments. Change-Id: I5d7f83727cbb22f03b1a79b1645db95514c66033 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -95,6 +95,11 @@ QString CommandLine::toUserOutput() const
|
||||
return m_executable.toUserOutput() + ' ' + m_arguments;
|
||||
}
|
||||
|
||||
QStringList CommandLine::splitArguments(OsType osType) const
|
||||
{
|
||||
return QtcProcess::splitArgs(m_arguments, osType);
|
||||
}
|
||||
|
||||
/*! \class Utils::FileUtils
|
||||
|
||||
\brief The FileUtils class contains file and directory related convenience
|
||||
|
||||
Reference in New Issue
Block a user