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:
#include <QtGui/QApplication>
#include <iostream>
int main( int argc, char* argv[] ){
std::cout<<"initialisation successful!";
return app.exec();
}
#include <QtGui/QApplication>
#include <iostream>
int main( int argc, char* argv[] ){
QApplication app( argc, argv);
std::cout<<"initialisation successful!";
return app.exec();
}
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
Bookmarks