[Qt-interest] stdout of MSWin GUI application run from console

Konstantin Tokarev annulen at yandex.ru
Wed Apr 13 15:06:25 CEST 2011



13.04.2011, 16:24, "Graeme Gill" <graeme2 at argyllcms.com>:
> Thiago Macieira wrote:
>
>>  CONFIG += console
>
> Hi,
>         no that's not the same at all. It looks the same
> when run from the command line, but then pops a console
> window when run from the GUI (explorer).
>
> The approach I suggested doesn't pop up a console
> w> hen invoked from the GUI, behaving instead like
> applications does on Linux/X11. (Try it for
> yourself.)

I'm afraid it's impossible - output is directed to console for console
applications (launching console on startup) or to debugger for
regular applications. And there's nothing like ~/.xsession-errors

-- 

Regards,
Konstantin



More information about the Qt-interest-old mailing list