aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-05-22 10:59:20 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-06-07 05:48:46 +0000
commitaa68eab142c5e2106ab0c5e3a4bde6adfa550328 (patch)
tree4ad36f091641d0207452a55942120527e0928cfe /tools
parentcd0b001ec8153515b4af549e4b111bada14ebce7 (diff)
qmlprofiler: Redirect app stdout to qmlprofiler stderr
This seems to be a common technique for tools that wrap application execution and potentially have their own output. Change-Id: I4ca1bc5861d5b915b4ca07aec08ad06c8c73c8d6 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlprofiler/qmlprofilerapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlprofiler/qmlprofilerapplication.cpp b/tools/qmlprofiler/qmlprofilerapplication.cpp
index a493214ced..a9fa691cbc 100644
--- a/tools/qmlprofiler/qmlprofilerapplication.cpp
+++ b/tools/qmlprofiler/qmlprofilerapplication.cpp
@@ -463,7 +463,7 @@ void QmlProfilerApplication::processHasOutput()
{
Q_ASSERT(m_process);
while (m_process->bytesAvailable()) {
- QTextStream out(stdout);
+ QTextStream out(stderr);
out << m_process->readAll();
}
}