PDA

View Full Version : Qt Creator console window in Qt Creator



radith
28th February 2011, 06:05
Hi all,

I'm using Qt Creator 2.0.1 and Qt 4.7.1 on Windows XP with MinGW32 5.6.1 compiler.

I have set CONFIG += console on the .pro file to see the debug output on console window. My question is:

Why does the console window disappears immediately if my application is exited? I want the console window remains on top (just like WindowsStaysOnTopHint flag of QWidget) or at least the console window doesn't disappear immediately. How do I configure this?

Thanks

wysota
28th February 2011, 09:08
The only way is to start your program from an existing persistent console.

radith
28th February 2011, 10:15
Hi Wysota,

Thanks ! I open it in from the command line and I can read what the error message is. I will post another thread about the bug of my app.