3 # Additional Qt project file for qtmain lib on Windows
4 !win32:error("$$_FILE_ is intended only for Windows!")
8 DESTDIR = $$QT.core.libs
10 CONFIG += static warn_on depend_includepath
11 CONFIG -= fix_output_dirs
12 QT = # qt.prf is still needed for some DEFINES, etc.
14 contains(QT_CONFIG, build_all):CONFIG += build_all
16 win32-msvc*:QMAKE_CFLAGS_DEBUG -= -Zi
17 win32-msvc*:QMAKE_CXXFLAGS_DEBUG -= -Zi
18 win32-msvc*:QMAKE_CFLAGS_DEBUG *= -Z7
19 win32-msvc*:QMAKE_CXXFLAGS_DEBUG *= -Z7
20 win32-g++*: DEFINES += QT_NEEDS_QMAIN
22 INCLUDEPATH += $$QT.core.includes
24 SOURCES = qtmain_win.cpp
28 TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
32 wince*:QMAKE_POST_LINK =