That's because the output is buffered.
You need to add "CONFIG += console" to your .pro file.But in windows, nothing is printed at all.
That is because you start the application event loop. This will run for ever until you tell it to stop.Something else is that my application never ends.
Bookmarks