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

Paul Miller paul at fxtech.com
Thu Apr 14 16:33:27 CEST 2011


On 4/14/2011 9:22 AM, Michael Jackson wrote:
> I am probably going to miss the subtle difference here but can't you just
> set the "SUBSYSTEM" to "CONSOLE" instead of "WINDOWS" in the Visual Studio
> Project? This makes the GUI app also pop up an console window when launched
> although it is a separate console window so maybe the is the difference.

The difference with the console subsystem approach is you can't control 
if the console appears. With Graeme's approach at least you could 
control (with a command-line switch) whether the console appears or not.




More information about the Qt-interest-old mailing list