forked from qt-creator/qt-creator
Tests: Fix compile on Win
Amends 4098be05b2
.
Change-Id: Icc28162630470d3beab7ef9867e907cab6804688
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -93,7 +93,7 @@ static bool generateEnvironmentSettings(Utils::Environment &env,
|
|||||||
const QString cmdPath = QString::fromLocal8Bit(qgetenv("COMSPEC"));
|
const QString cmdPath = QString::fromLocal8Bit(qgetenv("COMSPEC"));
|
||||||
// Windows SDK setup scripts require command line switches for environment expansion.
|
// Windows SDK setup scripts require command line switches for environment expansion.
|
||||||
QString cmdArguments = " /E:ON /V:ON /c \"" + QDir::toNativeSeparators(saver.fileName()) + '"';
|
QString cmdArguments = " /E:ON /V:ON /c \"" + QDir::toNativeSeparators(saver.fileName()) + '"';
|
||||||
run.setCommand(cmdPath, cmdArguments);
|
run.setCommand(Utils::CommandLine(cmdPath, cmdArguments));
|
||||||
run.start();
|
run.start();
|
||||||
|
|
||||||
if (!run.waitForStarted()) {
|
if (!run.waitForStarted()) {
|
||||||
|
Reference in New Issue
Block a user