author | Alex Gilkes <alex.gilkes@nokia.com> |
Mon, 11 Jan 2010 14:00:40 +0000 | |
changeset 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 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 |
} |