diff options
| author | hjk <hjk@qt.io> | 2021-05-06 13:07:36 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2021-05-11 09:45:24 +0000 |
| commit | f2f40efa03f5303df732310d12efec50251fd075 (patch) | |
| tree | c464c4dec218bad87efd7182140629fa927bb184 /src/plugins/android/androidpackageinstallationstep.cpp | |
| parent | 8aafe36d01eba496e3cb6664a5eed9c863152468 (diff) | |
| download | qt-creator-f2f40efa03f5303df732310d12efec50251fd075.tar.gz | |
Utils: Move process arguments class out of QtcProcess
The main QtcProcess interface is nowadays a CommandLine, with no
explicit references left to QtcProcess::Arguments and related static
helper functions, so it only clutters the QtcProcess class interface
So move these items out of QtcProcess, later potentially to a separate
file pair.
Change-Id: I45c300b656f5b30e2e2717232c855fdd97c2d1d7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/android/androidpackageinstallationstep.cpp')
| -rw-r--r-- | src/plugins/android/androidpackageinstallationstep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/android/androidpackageinstallationstep.cpp b/src/plugins/android/androidpackageinstallationstep.cpp index 024aa1785d..bd4fdc104f 100644 --- a/src/plugins/android/androidpackageinstallationstep.cpp +++ b/src/plugins/android/androidpackageinstallationstep.cpp @@ -96,8 +96,8 @@ bool AndroidPackageInstallationStep::init() QTC_ASSERT(tc, return false); QString dirPath = nativeAndroidBuildPath(); - const QString innerQuoted = QtcProcess::quoteArg(dirPath); - const QString outerQuoted = QtcProcess::quoteArg("INSTALL_ROOT=" + innerQuoted); + const QString innerQuoted = ProcessArgs::quoteArg(dirPath); + const QString outerQuoted = ProcessArgs::quoteArg("INSTALL_ROOT=" + innerQuoted); CommandLine cmd{tc->makeCommand(buildEnvironment())}; cmd.addArgs(outerQuoted + " install", CommandLine::Raw); |
