diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-27 13:29:53 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-01-27 16:07:26 +0200 |
commit | 2aa7ce735069f23462852567a375c3515a185872 (patch) | |
tree | c7bdc592eee40407409510a4d2016b78539c9d64 | |
parent | 41208f66aa50caf52e3b69797b7db498a45ded49 (diff) | |
download | qt-creator-2aa7ce735069f23462852567a375c3515a185872.tar.gz |
Make sure to get output on Windows when using Qt5.4 or higher
Change-Id: Id69636f5a48f5423217c47c039d4522ef42cd2a3
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
-rw-r--r-- | plugins/autotest/testrunner.cpp | 2 |
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(); |