Utils: Fix compilation on Windows

Amends 825c89987c.

Change-Id: I1ec04bcc8b67870bdc26dccb4e67052a32c7ef94
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-02-11 18:33:52 +01:00
committed by Christian Stenger
parent e2cb64471a
commit f555285aa5

View File

@@ -638,9 +638,7 @@ public:
+ QLatin1String("/qtcreator_ctrlc_stub.exe");
}
ProcessArgs::addArgs(&args, arguments.toWindowsArgs());
#ifdef Q_OS_WIN
m_process->setNativeArguments(args);
#endif
m_setup.m_nativeArguments = args;
// Note: Arguments set with setNativeArgs will be appended to the ones
// passed with start() below.
start(commandString, QStringList(), workingDirectory, m_writeData);