[Qt-interest] stdout of MSWin GUI application run from console
Graeme Gill
graeme2 at argyllcms.com
Wed Apr 13 17:51:05 CEST 2011
Paul Miller wrote:
> This was my point. I only want the console output when the app is run
> from a console. When run from the GUI, I don't want the console popping
> up. I haven't been able to find a reliable way to make a Qt app on
> Windows that behaves like a console app when run from the console (ie.
> prints stuff to the console), and a GUI app when run from Explorer.
Were the unreliable methods you've tried similar to the code I posted,
or did they use a different approach ?
Graeme Gill.
More information about the Qt-interest-old
mailing list