Hi Igor, You can check this: 1) Are you sure you do not have CONFIG += console somewhere? 2) Go to the "Projects" view, look at run settings in your kit. There is a checkbox "Run in terminal" which activates a console. I'm using Qt Creator 2.6.0, so maybe the GUI has changed and it's not exactly at the same place.
You can also call FreeConsole() from <windows.h> in your main function, this removes the console under windows. Normally it's only necessary if you configured the project with CONFIG += console (useful for hybrid console/GUI apps) Etienne 2013/9/5 Igor Mironchik <[email protected]> > I write an application. > > The common definitions in the project file are: > > TEMPLATE = app > TARGET = application > DESTDIR = .. > QT += core gui network sql widgets > CONFIG += windows > > But when I run application I see the console (command prompt) window > within my application. Why? > > I use Qt 5.1.0, MSVC 2012, Windows 7. > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest > >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
