[Qt-interest] Windows app opening dos box
Justin Noel
justin at ics.com
Fri Oct 9 18:14:47 CEST 2009
On Friday 09 October 2009 12:03:53 pm Neville Dastur wrote:
> 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 can't find anything on Google / QT Faqs about this. Hopefully I
> haven't missed something obvious in the docs.
>
> Can anyone help?
I'm not sure about how creator configures the .pro file, but you can remove
the line CONFIG+=console and the dos box will go away.
It's common practice to scope that line to debug so you can see output for
broken signal/slot connections on windows. I would be willing to bet that
Creator does it that way. Are you sure you are building release binaries?
--Justin
More information about the Qt-interest-old
mailing list