|
1 CONFIG += depend_includepath |
|
2 |
|
3 QMAKE_INCREMENTAL = |
|
4 SKIP_DEPENDS += qconfig.h qmodules.h |
|
5 DEFINES += QT_NO_TEXTCODEC QT_NO_LIBRARY QT_NO_STL QT_NO_COMPRESS QT_NO_UNICODETABLES \ |
|
6 QT_NO_GEOM_VARIANT QT_NO_DATASTREAM |
|
7 |
|
8 #qmake code |
|
9 SOURCES += project.cpp property.cpp main.cpp generators/makefile.cpp \ |
|
10 generators/unix/unixmake2.cpp generators/unix/unixmake.cpp meta.cpp \ |
|
11 option.cpp generators/win32/winmakefile.cpp generators/win32/mingw_make.cpp \ |
|
12 generators/makefiledeps.cpp generators/metamakefile.cpp generators/mac/pbuilder_pbx.cpp \ |
|
13 generators/xmloutput.cpp generators/win32/borland_bmake.cpp \ |
|
14 generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \ |
|
15 generators/win32/msvc_dsp.cpp generators/win32/msvc_vcproj.cpp \ |
|
16 generators/win32/msvc_objectmodel.cpp \ |
|
17 generators/symbian/symmake.cpp \ |
|
18 generators/symbian/symmake_abld.cpp \ |
|
19 generators/symbian/symmake_sbsv2.cpp \ |
|
20 generators/symbian/initprojectdeploy_symbian.cpp |
|
21 |
|
22 HEADERS += project.h property.h generators/makefile.h \ |
|
23 generators/unix/unixmake.h meta.h option.h cachekeys.h \ |
|
24 generators/win32/winmakefile.h generators/projectgenerator.h \ |
|
25 generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \ |
|
26 generators/xmloutput.h generators/win32/borland_bmake.h generators/win32/msvc_nmake.h \ |
|
27 generators/win32/msvc_dsp.h generators/win32/msvc_vcproj.h \ |
|
28 generators/win32/mingw_make.h generators/win32/msvc_objectmodel.h \ |
|
29 generators/symbian/symmake.h \ |
|
30 generators/symbian/symmake_abld.h \ |
|
31 generators/symbian/symmake_sbsv2.h \ |
|
32 generators/symbian/epocroot.h \ |
|
33 generators/symbian/initprojectdeploy_symbian.h |
|
34 |
|
35 contains(QT_EDITION, OpenSource) { |
|
36 DEFINES += QMAKE_OPENSOURCE_EDITION |
|
37 } |
|
38 |
|
39 bootstrap { #Qt code |
|
40 DEFINES+=QT_NODLL QT_NO_THREAD |
|
41 SOURCES+= \ |
|
42 qbitarray.cpp \ |
|
43 qbuffer.cpp \ |
|
44 qbytearray.cpp \ |
|
45 qbytearraymatcher.cpp \ |
|
46 qcryptographichash.cpp \ |
|
47 qdatetime.cpp \ |
|
48 qdir.cpp \ |
|
49 qdiriterator.cpp \ |
|
50 qfile.cpp \ |
|
51 qabstractfileengine.cpp \ |
|
52 qfileinfo.cpp \ |
|
53 qfsfileengine.cpp \ |
|
54 qfsfileengine_iterator.cpp \ |
|
55 qglobal.cpp \ |
|
56 qnumeric.cpp \ |
|
57 qhash.cpp \ |
|
58 qiodevice.cpp \ |
|
59 qlist.cpp \ |
|
60 qlinkedlist.cpp \ |
|
61 qlocale.cpp \ |
|
62 qmalloc.cpp \ |
|
63 qmap.cpp \ |
|
64 qmetatype.cpp \ |
|
65 qregexp.cpp \ |
|
66 qtextcodec.cpp \ |
|
67 qutfcodec.cpp \ |
|
68 qstring.cpp \ |
|
69 qstringlist.cpp \ |
|
70 qtemporaryfile.cpp \ |
|
71 qtextstream.cpp \ |
|
72 qurl.cpp \ |
|
73 quuid.cpp \ |
|
74 qsettings.cpp \ |
|
75 qlibraryinfo.cpp \ |
|
76 qvariant.cpp \ |
|
77 qvector.cpp \ |
|
78 qvsnprintf.cpp \ |
|
79 qxmlstream.cpp \ |
|
80 qxmlutils.cpp |
|
81 |
|
82 HEADERS+= \ |
|
83 qbitarray.h \ |
|
84 qbuffer.h \ |
|
85 qbytearray.h \ |
|
86 qbytearraymatcher.h \ |
|
87 qchar.h \ |
|
88 qcryptographichash.h \ |
|
89 qdatetime.h \ |
|
90 qdatetime_p.h \ |
|
91 qdir.h \ |
|
92 qdiriterator.h \ |
|
93 qfile.h \ |
|
94 qabstractfileengine.h \ |
|
95 qfileinfo.h \ |
|
96 qglobal.h \ |
|
97 qnumeric.h \ |
|
98 qhash.h \ |
|
99 qiodevice.h \ |
|
100 qlist.h \ |
|
101 qlinkedlist.h \ |
|
102 qlocale.h \ |
|
103 qmalloc.h \ |
|
104 qmap.h \ |
|
105 qmetatype.h \ |
|
106 qregexp.h \ |
|
107 qtextcodec.h \ |
|
108 qutfcodec.h \ |
|
109 qstring.h \ |
|
110 qstringlist.h \ |
|
111 qstringmatcher.h \ |
|
112 qtemporaryfile.h \ |
|
113 qtextstream.h \ |
|
114 qurl.h \ |
|
115 quuid.h \ |
|
116 qvector.h \ |
|
117 qxmlstream.h \ |
|
118 qxmlutils.h |
|
119 |
|
120 unix { |
|
121 SOURCES += qfsfileengine_unix.cpp qfsfileengine_iterator_unix.cpp |
|
122 mac { |
|
123 SOURCES += qcore_mac.cpp qsettings_mac.cpp |
|
124 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 #enables weak linking for 10.4 (exported) |
|
125 LIBS += -framework ApplicationServices |
|
126 } |
|
127 } else:win32 { |
|
128 SOURCES += qfsfileengine_win.cpp qfsfileengine_iterator_win.cpp qsettings_win.cpp |
|
129 win32-msvc*:LIBS += ole32.lib advapi32.lib |
|
130 } |
|
131 |
|
132 qnx { |
|
133 CFLAGS += -fhonor-std |
|
134 LFLAGS += -lcpp |
|
135 } |
|
136 DEFINES *= QT_NO_QOBJECT |
|
137 } else { |
|
138 CONFIG += qt |
|
139 QT = core |
|
140 } |
|
141 *-g++:profiling { |
|
142 QMAKE_CFLAGS = -pg |
|
143 QMAKE_CXXFLAGS = -pg |
|
144 QMAKE_LFLAGS = -pg |
|
145 } |
|
146 |
|
147 PRECOMPILED_HEADER = qmake_pch.h |