[Qt-interest] Supressing console
Juan D Guzman
lostinthecode at googlemail.com
Tue Mar 10 14:15:44 CET 2009
Daniel Franke wrote:
> On Tuesday 10 March 2009 13:52:41 Juan D Guzman wrote:
>
>> Ok here's a simple one for you that is stumping me. In VS my app
>> compiles and runs fine without showing in console. However, in Qt
>> Creator when I run the app it shows a console. All the preprocessor
>> defs are the same and no matter what I try I can't get rid of the
>> console. Any ideas?
>>
>
> Add 'CONFIG += windows' in your .pro file.
>
> http://doc.trolltech.com/4.5/qmake-variable-reference.html#config
>
> "windows The target is a Win32 window application (app only). The proper
> include paths, compiler flags and libraries will automatically be added to
> the project."
>
> Cheers
>
> Daniel
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
thanks i'll use this and see if it works.
More information about the Qt-interest-old
mailing list