[Qt-interest] Windows app opening dos box

Thomi Richards thomir at gmail.com
Fri Oct 9 18:16:25 CEST 2009


2009/10/9 Neville Dastur <qt at dastur.me.uk>:
> I have developed an application using Qt Creator under Linux. I have
> then compiled qt with vs2005 and installed the qt vs addin. The app
> compiles successfully, but when I run the app a dos box opens first
> aswell as the mainframe window. For a GUI app I obviously don't want the
> dos box opening.

I believe there is a windows linker option you must change. By default
it is "/subsystem:console" - by changing that to "/subsystem:windows"
everything should work as expected. HTH.



More information about the Qt-interest-old mailing list