summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-11-03 10:19:33 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-03 11:39:25 +0100
commit8482c9d17647dc2efa3e2be854de837b9db434a7 (patch)
tree5a904b5240af192b35561360590eda1038cce544
parentaf4e1ffbc02d897fc4268771632ea400c6a6ae45 (diff)
qmlplugindump: Add flush to fix output redirection on windows.
Task-number: QTCREATORBUG-5825 Change-Id: I26c2ecb77a89b352de97c70ff17fd076872a636b Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
-rw-r--r--tools/qmlplugindump/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index 19e94c2652..f0863032e3 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -738,7 +738,7 @@ int main(int argc, char *argv[])
qml.writeEndObject();
qml.writeEndDocument();
- std::cout << bytes.constData();
+ std::cout << bytes.constData() << std::flush;
// workaround to avoid crashes on exit
QTimer timer;