[Qt-creator] Supressing Console in Qt Creator

Juan D Guzman lostinthecode at googlemail.com
Tue Mar 10 15:26:16 CET 2009


Yonnys Pablo Martin Olivera wrote:
> What other option has your "CONFIG" beside "windows and console", because if you add "CONFIG += testlib" on Windows a console appears
>
> Ing. Yonnys Pablo Martín Olivera 
> Universidad de las Ciencias Informáticas 
> http://primavera.uci.cu/proyectos/qmasc
>
>
>
> -----Original Message-----
> From: qt-creator-bounces at trolltech.com on behalf of Juan D Guzman
> Sent: Tue 10.03.2009 10:59
> To: qt-creator at trolltech.com
> Subject: [Qt-creator] Supressing Console in Qt Creator
>  
> Hello this is my first post on this list.  I have asked this on the 
> qt-interest list but figured it wouldn't hurt to ask here also.
>
> I have a app that when compiled in Qt Creator shows a console window 
> while running.  I have already tried the obvious of CONFIG -= console 
> and CONFIG += windows and none seem to work.
>
> When I do CONFIG += windows it adds the /SUBSYSTEM:WINDOWS argument to 
> the linker but it doesn't remove the /SUBSYSTEM:CONSOLE one so the 
> console remains.  when i do CONFIG -= console it doesn't change anything 
> in the arguments passed to the linker.
>
> Any suggestions would be appreciated.
>
> Regards,
>
> JD
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>   
thanks testlib wasn't added to the CONFIG but it was one of the Qt += 
options.  I have removed it and now it compiles as a windows app.

much appreciated.

Regrads,

JD




More information about the Qt-creator-old mailing list