CONFIG -= windows
QMAKE_LFLAGS += $$replace(QMAKE_LFLAGS_CONSOLE, @QMAKE_SUBSYSTEM_SUFFIX@, $$QMAKE_SUBSYSTEM_SUFFIX)
contains(TEMPLATE, ".*app") {
    wince: QMAKE_LFLAGS += /ENTRY:mainACRTStartup
    QMAKE_LFLAGS += $$QMAKE_LFLAGS_EXE
}
