summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-11-03 09:22:32 (GMT)
committerChristian Kamm <christian.d.kamm@nokia.com>2011-11-03 09:29:46 (GMT)
commit9b3b29997f91892266fc34083eef269d7d7cc006 (patch)
tree1f60acc92646b92103b7d1a2181690973d41406b /tools
parent32e2ea24df71f3078b03598360aea76c0ebe1cba (diff)
downloadQt-9b3b29997f91892266fc34083eef269d7d7cc006.zip
Qt-9b3b29997f91892266fc34083eef269d7d7cc006.tar.gz
Qt-9b3b29997f91892266fc34083eef269d7d7cc006.tar.bz2
qmlplugindump: Add flush to fix output redirection on windows.
Task-number: QTCREATORBUG-5825
Diffstat (limited to 'tools')
-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 6bef8d4..e9547af 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -641,7 +641,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;