blob: 48837fb80a1cf473bfed7ccc1a777c9317fc00b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Additional Qt project file for qtmain lib on Windows
!win32:error("$$_FILE_ is intended only for Windows!")
TEMPLATE = lib
TARGET = qtmain
DESTDIR = $$QT.core.libs
CONFIG += static warn_on depend_includepath
QT = # qt.prf is still needed for some DEFINES, etc.
contains(QT_CONFIG, build_all):CONFIG += build_all
win32-msvc*:QMAKE_CFLAGS_DEBUG -= -Zi
win32-msvc*:QMAKE_CXXFLAGS_DEBUG -= -Zi
win32-msvc*:QMAKE_CFLAGS_DEBUG *= -Z7
win32-msvc*:QMAKE_CXXFLAGS_DEBUG *= -Z7
win32-g++*: DEFINES += QT_NEEDS_QMAIN
INCLUDEPATH += $$QT.core.includes
SOURCES = qtmain_win.cpp
load(qt_installs)
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
load(qt_targets)
wince*:QMAKE_POST_LINK =
|