forked from qt-creator/qt-creator
Utils: Pass an optional OsType parameter to CommandLine::addArg
... and extend the idea to addArgs(list) Change-Id: Ia5423ee5ab96835b4adc23b72749e9c13892ee83 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -137,8 +137,8 @@ public:
|
||||
: m_executable(executable), m_arguments(arguments)
|
||||
{}
|
||||
|
||||
void addArg(const QString &arg);
|
||||
void addArgs(const QStringList &inArgs);
|
||||
void addArg(const QString &arg, OsType osType = HostOsInfo::hostOs());
|
||||
void addArgs(const QStringList &inArgs, OsType osType = HostOsInfo::hostOs());
|
||||
void addArgs(const QString &inArgs);
|
||||
|
||||
QString toUserOutput() const;
|
||||
|
||||
Reference in New Issue
Block a user