source: trunk/qmake/qmake.pri@ 769

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

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

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