6060ffff88
Change-Id: I3a650bb4e27cad00f639e6445c36fa8b69edb5b9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
18 lines
654 B
Plaintext
18 lines
654 B
Plaintext
CONFIG -= console
|
|
QMAKE_LFLAGS += $$replace(QMAKE_LFLAGS_WINDOWS, @QMAKE_SUBSYSTEM_SUFFIX@, $$QMAKE_SUBSYSTEM_SUFFIX)
|
|
contains(TEMPLATE, ".*app") {
|
|
QMAKE_LFLAGS += $$QMAKE_LFLAGS_EXE
|
|
mingw:DEFINES += QT_NEEDS_QMAIN
|
|
|
|
qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
|
|
isEqual(entryLib, -lqtmain) {
|
|
!contains(QMAKE_DEFAULT_LIBDIRS, $$QT.core.libs): \
|
|
QMAKE_LIBS += -L$$QT.core.libs
|
|
CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}d
|
|
else: QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}
|
|
} else {
|
|
QMAKE_LIBS += $${entryLib}
|
|
}
|
|
}
|
|
}
|