Qdoc: put hardcoded url as workaround QTBUG-28500
[profile/ivi/qtbase.git] / qmake / qmake.pri
1 CONFIG += depend_includepath
2
3 SKIP_DEPENDS += qconfig.h qmodules.h
4 DEFINES += QT_NO_TEXTCODEC QT_NO_LIBRARY QT_NO_COMPRESS QT_NO_UNICODETABLES \
5            QT_NO_GEOM_VARIANT QT_NO_DATASTREAM
6
7 #qmake code
8 SOURCES += project.cpp property.cpp main.cpp \
9            library/ioutils.cpp library/proitems.cpp library/qmakeglobals.cpp \
10            library/qmakeparser.cpp library/qmakeevaluator.cpp library/qmakebuiltins.cpp \
11            generators/makefile.cpp \
12            generators/unix/unixmake2.cpp generators/unix/unixmake.cpp meta.cpp \
13            option.cpp generators/win32/winmakefile.cpp generators/win32/mingw_make.cpp \
14            generators/makefiledeps.cpp generators/metamakefile.cpp generators/mac/pbuilder_pbx.cpp \
15            generators/xmloutput.cpp \
16            generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \
17            generators/win32/msvc_vcproj.cpp \
18            generators/win32/msvc_vcxproj.cpp \
19            generators/win32/msvc_objectmodel.cpp generators/win32/msbuild_objectmodel.cpp \
20            generators/integrity/gbuild.cpp \
21            generators/win32/cesdkhandler.cpp
22
23 HEADERS += project.h property.h \
24            library/qmake_global.h library/ioutils.h library/proitems.h library/qmakeglobals.h \
25            library/qmakeparser.h library/qmakeevaluator.h library/qmakeevaluator_p.h \
26            generators/makefile.h \
27            generators/unix/unixmake.h meta.h option.h cachekeys.h \
28            generators/win32/winmakefile.h generators/win32/mingw_make.h generators/projectgenerator.h \
29            generators/makefiledeps.h generators/metamakefile.h generators/mac/pbuilder_pbx.h \
30            generators/xmloutput.h generators/win32/msvc_nmake.h \
31            generators/win32/msvc_vcproj.h \
32            generators/win32/msvc_vcxproj.h \
33            generators/win32/msvc_objectmodel.h generators/win32/msbuild_objectmodel.h \
34            generators/integrity/gbuild.h \
35            generators/win32/cesdkhandler.h
36
37 contains(QT_EDITION, OpenSource) {
38    DEFINES += QMAKE_OPENSOURCE_EDITION
39 }
40
41 bootstrap { #Qt code
42    DEFINES+=QT_NO_THREAD
43    SOURCES+= \
44         qbitarray.cpp \
45         qbuffer.cpp \
46         qarraydata.cpp \
47         qbytearray.cpp \
48         qbytearraymatcher.cpp \
49         qcryptographichash.cpp \
50         qdatetime.cpp \
51         qdir.cpp \
52         qdiriterator.cpp \
53         qfiledevice.cpp \
54         qfile.cpp \
55         qabstractfileengine.cpp \
56         qfileinfo.cpp \
57         qfilesystementry.cpp \
58         qfilesystemengine.cpp \
59         qfsfileengine.cpp \
60         qfsfileengine_iterator.cpp \
61         qglobal.cpp \
62         qnumeric.cpp \
63         qhash.cpp \
64         qiodevice.cpp \
65         qlist.cpp \
66         qlinkedlist.cpp \
67         qlocale.cpp \
68         qlocale_tools.cpp \
69         qmalloc.cpp \
70         qmap.cpp \
71         qmetatype.cpp \
72         qregexp.cpp \
73         qtextcodec.cpp \
74         qutfcodec.cpp \
75         qstring.cpp \
76         qstringlist.cpp \
77         qtemporaryfile.cpp \
78         qtextstream.cpp \
79         quuid.cpp \
80         qsettings.cpp \
81         qlibraryinfo.cpp \
82         qsystemerror.cpp \
83         qvariant.cpp \
84         qvector.cpp \
85         qvsnprintf.cpp \
86         qxmlstream.cpp \
87         qxmlutils.cpp \
88         qlogging.cpp
89
90    HEADERS+= \
91         qbitarray.h \
92         qbuffer.h \
93         qarraydata.h \
94         qbytearray.h \
95         qarraydataops.h \
96         qarraydatapointer.h \
97         qbytearraymatcher.h \
98         qchar.h \
99         qcryptographichash.h \
100         qdatetime.h \
101         qdatetime_p.h \
102         qdir.h \
103         qdir_p.h \
104         qdiriterator.h \
105         qfile.h \
106         qabstractfileengine_p.h \
107         qfileinfo.h \
108         qglobal.h \
109         qnumeric.h \
110         qhash.h \
111         qiodevice.h \
112         qlist.h \
113         qlinkedlist.h \
114         qlocale.h \
115         qlocale_tools_p.h \
116         qmalloc.h \
117         qmap.h \
118         qmetatype.h \
119         qregexp.h \
120         qtextcodec.h \
121         qutfcodec.h \
122         qstring.h \
123         qstringlist.h \
124         qstringmatcher.h \
125         qsystemerror_p.h \
126         qtemporaryfile.h \
127         qtextstream.h \
128         quuid.h \
129         qvector.h \
130         qxmlstream.h \
131         qxmlutils.h
132
133     unix {
134         SOURCES += qfilesystemengine_unix.cpp qfilesystemiterator_unix.cpp qfsfileengine_unix.cpp
135         mac {
136           SOURCES += qfilesystemengine_mac.cpp
137           SOURCES += qcore_mac.cpp qsettings_mac.cpp qlocale_mac.mm
138           LIBS += -framework ApplicationServices
139         } else {
140           SOURCES += qlocale_unix.cpp
141         }
142     } else:win32 {
143         SOURCES += qfilesystemengine_win.cpp qfsfileengine_win.cpp qfilesystemiterator_win.cpp qsettings_win.cpp \
144             qsystemlibrary.cpp qlocale_win.cpp registry.cpp
145         win32-msvc*:LIBS += ole32.lib advapi32.lib
146         win32-g++*:LIBS += -lole32 -luuid -ladvapi32 -lkernel32
147     }
148
149     qnx {
150         CFLAGS += -fhonor-std
151         LFLAGS += -lcpp
152     }
153     DEFINES *= QT_NO_QOBJECT
154 } else {
155     CONFIG += qt
156     QT = core
157 }
158 *-g++:profiling {
159   QMAKE_CFLAGS = -pg
160   QMAKE_CXXFLAGS = -pg
161   QMAKE_LFLAGS = -pg
162 }
163
164 PRECOMPILED_HEADER = qmake_pch.h