summaryrefslogtreecommitdiffstats
path: root/src/winmain/winmain.pro
blob: 0c9b2146eb31d49730465f59bac79575e1a34f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Additional Qt project file for qtmain lib on Windows
TEMPLATE = lib
TARGET	 = qtmain
DESTDIR	 = $$QMAKE_LIBDIR_QT
QT       =

CONFIG	+= staticlib warn_on
CONFIG	-= qt shared

win32 {
	win32-g++*:DEFINES += QT_NEEDS_QMAIN
	win32-borland:DEFINES += QT_NEEDS_QMAIN
	SOURCES		= qtmain_win.cpp
	CONFIG		+= png
	CONFIG		-= jpeg
	INCLUDEPATH	+= tmp $$QMAKE_INCDIR_QT/QtCore
}

!win32:error("$$_FILE_ is intended only for Windows!")
include(../qbase.pri)
wince*:QMAKE_POST_LINK =