changeset 0 | 1918ee327afb |
-1:000000000000 | 0:1918ee327afb |
---|---|
1 CONFIG -= console |
|
2 contains(TEMPLATE, ".*app"){ |
|
3 QMAKE_LFLAGS += $$QMAKE_LFLAGS_WINDOWS |
|
4 win32-g++:DEFINES += QT_NEEDS_QMAIN |
|
5 win32-borland:DEFINES += QT_NEEDS_QMAIN |
|
6 |
|
7 qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) { |
|
8 isEqual(entryLib, -lqtmain): { |
|
9 CONFIG(debug, debug|release): QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX}d |
|
10 else: QMAKE_LIBS += $${entryLib}$${QT_LIBINFIX} |
|
11 } else { |
|
12 QMAKE_LIBS += $${entryLib} |
|
13 } |
|
14 } |
|
15 } |