summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/autotest/testrunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/autotest/testrunner.cpp b/plugins/autotest/testrunner.cpp
index df9ad92b73..af1b5e1703 100644
--- a/plugins/autotest/testrunner.cpp
+++ b/plugins/autotest/testrunner.cpp
@@ -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();