Hi all,

I'm quite new to Qt and i have a question about something whether or not
something is normal:

I made a very simple main function:
Qt Code:
  1. #include <QtGui/QApplication>
  2. #include <iostream>
  3.  
  4. int main( int argc, char* argv[] ){
  5. QApplication app( argc, argv);
  6. std::cout<<"initialisation successful!";
  7. return app.exec();
  8. }
To copy to clipboard, switch view to plain text mode 

When i run it( compiling gave no errors), nothing is printed to the terminal
in ubuntu, unless i use std::cout.flush(), then it is printed. But in windows,
nothing is printed at all.

Something else is that my application never ends.

Is this normal?

hannesvdc