Commit 2aa7ce73 authored by Christian Stenger's avatar Christian Stenger
Browse files

Make sure to get output on Windows when using Qt5.4 or higher



Change-Id: Id69636f5a48f5423217c47c039d4522ef42cd2a3
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 41208f66
......@@ -150,6 +150,8 @@ void performTestRun(QFutureInterface<void> &futureInterface, const QList<TestCon
testProcess.setArguments(argumentList);
testProcess.setWorkingDirectory(testConfiguration->workingDirectory());
if (Utils::HostOsInfo::isWindowsHost())
environment.insert(QLatin1String("QT_LOGGING_TO_CONSOLE"), QLatin1String("1"));
testProcess.setProcessEnvironment(environment);
testProcess.setProgram(commandFilePath);
testProcess.start();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment