diff options
author | Christian Stenger <christian.stenger@qt.io> | 2020-04-28 10:15:45 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2020-04-29 10:30:52 +0000 |
commit | 8806ae3bdf6a6233b2c4620566fa0414aef6daf9 (patch) | |
tree | 2bb44b96054cb71824362e4e107aba24269c0077 | |
parent | 662c224bab0e2e9a8054cf58671ff0d350713f82 (diff) |
AutoTest: Fix output handling
Connect to the correct signal to explicitly react on
output coming on stdout.
Necessary as we are changing the read channel while
processing output.
Fixes: QTCREATORBUG-23939
Change-Id: Ibf62de62fb64bd9c2395f93643e39d11d5b4e0d5
Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r-- | src/plugins/autotest/testoutputreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testoutputreader.cpp b/src/plugins/autotest/testoutputreader.cpp index d23b779fe51..3faa7282f35 100644 --- a/src/plugins/autotest/testoutputreader.cpp +++ b/src/plugins/autotest/testoutputreader.cpp @@ -50,7 +50,7 @@ TestOutputReader::TestOutputReader(const QFutureInterface<TestResultPtr> &future }; if (m_testApplication) { - connect(m_testApplication, &QProcess::readyRead, + connect(m_testApplication, &QProcess::readyReadStandardOutput, this, [chopLineBreak, this] () { m_testApplication->setReadChannel(QProcess::StandardOutput); while (m_testApplication->canReadLine()) |