forked from qt-creator/qt-creator
Use Utils::FilePath in SynchronousProcess
Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -40,7 +40,10 @@ class Kit;
|
||||
class Target;
|
||||
}
|
||||
|
||||
namespace Utils { class FilePath; }
|
||||
namespace Utils {
|
||||
class CommandLine;
|
||||
class FilePath;
|
||||
}
|
||||
|
||||
namespace Android {
|
||||
|
||||
@@ -118,7 +121,7 @@ public:
|
||||
static QJsonObject deploymentSettings(const ProjectExplorer::Target *target);
|
||||
|
||||
private:
|
||||
static SdkToolResult runCommand(const QString &executable, const QStringList &args,
|
||||
static SdkToolResult runCommand(const Utils::CommandLine &command,
|
||||
const QByteArray &writeData = {}, int timeoutS = 30);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user