[Qt-interest] Fwd: Fwd: Fwd: Debug info
IP Susila
putu-sgr at ecei.tohoku.ac.jp
Wed Dec 3 08:31:19 CET 2008
(2008/12/03 5:11), ami guru wrote:
> sorry again
>
> Could not make that work
>
> I must be missing something on the process
>
> Attaching the .pro file and looking forward to some hint on that issue.
>
>
Hi,
As already suggested by David Boddie, you *must* add:
CONFIG += console
into your .pro file. If you don't do this, the application will be
compiled as a GUI-based application which doesn't have
stderr, stdout, or stdin. Even you run it from console window,
nothing will be printed out.
After editing .pro file, if you previously build the project,
you should clean up the project first, then rebuild it.
(by issuing make clean && make).
On linux, all user application have stdin, stdout, and stderr.
without adding "CONFIG += console", the application will
print the debug info into console window.
putu
More information about the Qt-interest-old
mailing list