2011-04-27 10:05:43 +00:00
|
|
|
CONFIG -= console
|
|
|
|
contains(TEMPLATE, ".*app"){
|
|
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_WINDOWS $$QMAKE_LFLAGS_EXE
|
2014-01-08 13:12:17 +00:00
|
|
|
mingw:DEFINES += QT_NEEDS_QMAIN
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
|
|
|
|
isEqual(entryLib, -lqtmain): {
|
|
|
|
CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}d
|
|
|
|
else: QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}
|
|
|
|
} else {
|
|
|
|
QMAKE_LIBS += $${entryLib}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|