I am trying to make gui Qxt Application, but when launches it creates a console window. I don't need console window, how can I hide it?
I'm using mingw gcc4.4 qt4.8 libqxt-0.6.2
.pro file:
QT += core gui network testlib
CONFIG += qxt
QXT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = yascreens
TEMPLATE = app
SOURCES += main.cpp \
application.cpp \
configwidget.cpp \
network.cpp \
imageselectwidget.cpp
HEADERS += \
application.h \
configwidget.h \
network.h \
defines.h \
imageselectwidget.h
RESOURCES += \
resources.qrc
QMAKE_CXXFLAGS += -std=c++0x
FORMS += \
config.ui
Full sources here (github).
The problem was that I was usting QTest and testlib in pro file. Just don't use QTest :)