source: trunk/qmake/qmake.pri@ 385

Last change on this file since 385 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 3.8 KB
Line 
1CONFIG += depend_includepath
2
3QMAKE_INCREMENTAL =
4SKIP_DEPENDS += qconfig.h qmodules.h
5DEFINES += 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
9SOURCES += 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
17HEADERS += project.h property.h generators/makefile.h \
18 generators/unix/unixmake.h meta.h option.h cachekeys.h \
19 generators/win32/winmakefile.h generators/projectgenerator.h \
20 generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \
21 generators/xmloutput.h generators/win32/borland_bmake.h generators/win32/msvc_nmake.h \
22 generators/win32/msvc_dsp.h generators/win32/msvc_vcproj.h \
23 generators/win32/mingw_make.h generators/win32/msvc_objectmodel.h
24
25contains(QT_EDITION, OpenSource) {
26 DEFINES += QMAKE_OPENSOURCE_EDITION
27}
28
29bootstrap { #Qt code
30 DEFINES+=QT_NODLL QT_NO_THREAD
31 SOURCES+= \
32 qbitarray.cpp \
33 qbuffer.cpp \
34 qbytearray.cpp \
35 qbytearraymatcher.cpp \
36 qcryptographichash.cpp \
37 qdatetime.cpp \
38 qdir.cpp \
39 qdiriterator.cpp \
40 qfile.cpp \
41 qabstractfileengine.cpp \
42 qfileinfo.cpp \
43 qfsfileengine.cpp \
44 qfsfileengine_iterator.cpp \
45 qglobal.cpp \
46 qnumeric.cpp \
47 qhash.cpp \
48 qiodevice.cpp \
49 qlistdata.cpp \
50 qlinkedlist.cpp \
51 qlocale.cpp \
52 qmalloc.cpp \
53 qmap.cpp \
54 qmetatype.cpp \
55 qregexp.cpp \
56 qstring.cpp \
57 qstringlist.cpp \
58 qtemporaryfile.cpp \
59 qtextstream.cpp \
60 qurl.cpp \
61 quuid.cpp \
62 qsettings.cpp \
63 qlibraryinfo.cpp \
64 qvariant.cpp \
65 qvector.cpp \
66 qvsnprintf.cpp
67
68 HEADERS+= \
69 qbitarray.h \
70 qbuffer.h \
71 qbytearray.h \
72 qbytearraymatcher.h \
73 qchar.h \
74 qcryptographichash.h \
75 qdatetime.h \
76 qdatetime_p.h \
77 qdir.h \
78 qdiriterator.h \
79 qfile.h \
80 qabstractfileengine.h \
81 qfileinfo.h \
82 qfileinfo_p.h \
83 qglobal.h \
84 qnumeric.h \
85 qhash.h \
86 qiodevice.h \
87 qlist.h \
88 qlinkedlist.h \
89 qlocale.h \
90 qmalloc.h \
91 qmap.h \
92 qmetatype.h \
93 qregexp.h \
94 qstring.h \
95 qstringlist.h \
96 qstringmatcher.h \
97 qtemporaryfile.h \
98 qtextstream.h \
99 qurl.h \
100 quuid.h \
101 qvector.h
102
103 unix {
104 SOURCES += qfsfileengine_unix.cpp qfsfileengine_iterator_unix.cpp
105 mac {
106 SOURCES += qcore_mac.cpp qsettings_mac.cpp
107 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3 #enables weak linking for 10.3 (exported)
108 LIBS += -framework ApplicationServices
109 }
110 } else:win32 {
111 SOURCES += qfsfileengine_win.cpp qfsfileengine_iterator_win.cpp qsettings_win.cpp
112 win32-msvc*:LIBS += ole32.lib advapi32.lib
113 }
114
115 qnx {
116 CFLAGS += -fhonor-std
117 LFLAGS += -lcpp
118 }
119 DEFINES *= QT_NO_QOBJECT
120 include($$QT_SOURCE_TREE/src/script/script.pri)
121} else {
122 CONFIG += qt
123 QT = core script
124}
125*-g++:profiling {
126 QMAKE_CFLAGS = -pg
127 QMAKE_CXXFLAGS = -pg
128 QMAKE_LFLAGS = -pg
129}
130
131PRECOMPILED_HEADER = qmake_pch.h
Note: See TracBrowser for help on using the repository browser.