aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/webassembly/webassemblyemsdk.cpp
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2023-05-03 16:00:22 +0200
committerJarek Kobus <[email protected]>2023-05-04 05:52:16 +0000
commit470c95c94be58905bc3202d3b58175add5f576fa (patch)
tree992c0eea5e7e88f4599a533d2bcbf4bfac472cd9 /src/plugins/webassembly/webassemblyemsdk.cpp
parente5051bbfdef896ece974a949a392de7337284bf0 (diff)
Utils: Rename QtcProcess -> Process
Task-number: QTCREATORBUG-29102 Change-Id: Ibc264f9db6a32206e4097766ee3f7d0b35225a5c Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: <[email protected]> Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/webassembly/webassemblyemsdk.cpp')
-rw-r--r--src/plugins/webassembly/webassemblyemsdk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/webassembly/webassemblyemsdk.cpp b/src/plugins/webassembly/webassemblyemsdk.cpp
index 4acf6589c4d..e66df1272da 100644
--- a/src/plugins/webassembly/webassemblyemsdk.cpp
+++ b/src/plugins/webassembly/webassemblyemsdk.cpp
@@ -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();