From 9b3b29997f91892266fc34083eef269d7d7cc006 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 3 Nov 2011 10:22:32 +0100 Subject: qmlplugindump: Add flush to fix output redirection on windows. Task-number: QTCREATORBUG-5825 --- tools/qmlplugindump/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12