cout works only on stdout, so you need to tell qmake this is a console app.
Therefore add CONFIG += debug console to the pro file.
In a GUI app you can try to output something to cerr. It might work.
cout works only on stdout, so you need to tell qmake this is a console app.
Therefore add CONFIG += debug console to the pro file.
In a GUI app you can try to output something to cerr. It might work.
LMZ (29th September 2007)
Bookmarks