[Qt-interest] stdout of MSWin GUI application run from console
Paul Miller
paul at fxtech.com
Thu Apr 14 17:24:29 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.
>
> _______________________________________________
>
> Nope.. his was will NOT pop up the console.. It will only attach to it
> if it already exists.. If it doesn't (run via double click or from the
> dev studio debugger) the attach function fails.
Oh, this makes what it does much clearer than. Yes, this sounds
interesting indeed. Though for my use, I would still need the
command-line switch to control the behavior (I have a render-only mode
to a visual effects product I develop) and because I need console output
when running in that mode I currently need two separate applications.
BTW Hi Scott gotta say I appreciate your work with the Qt debugger
extensions. I use them daily!
More information about the Qt-interest-old
mailing list