source: trunk/qmake/qmake.pri@ 561

Last change on this file since 561 was 561, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.1 sources.

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