forked from qt-creator/qt-creator
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -29,7 +29,7 @@ static QString emSdkEnvOutput(const FilePath &sdkRoot)
|
||||
if (!emSdkEnvCache()->contains(cacheKey)) {
|
||||
const FilePath scriptFile = sdkRoot.pathAppended(QLatin1String("emsdk_env") +
|
||||
(isWindows ? ".bat" : ".sh"));
|
||||
QtcProcess emSdkEnv;
|
||||
Process emSdkEnv;
|
||||
if (isWindows) {
|
||||
emSdkEnv.setCommand(CommandLine(scriptFile));
|
||||
} else {
|
||||
@@ -88,7 +88,7 @@ QVersionNumber version(const FilePath &sdkRoot)
|
||||
QLatin1String scriptFile{sdkRoot.osType() == OsType::OsTypeWindows ? "emcc.bat" : "emcc"};
|
||||
FilePath script = sdkRoot.withNewPath(scriptFile).searchInDirectories(env.path());
|
||||
const CommandLine command(script, {"-dumpversion"});
|
||||
QtcProcess emcc;
|
||||
Process emcc;
|
||||
emcc.setCommand(command);
|
||||
emcc.setEnvironment(env);
|
||||
emcc.runBlocking();
|
||||
|
||||
Reference in New Issue
Block a user