Cocoa: cannot quit application
[qt-netbsd.git] / qmake / qmake.pri
blob67fc8f2666f1b8bfd5a04b0a68a8364bcb91b7aa
1 CONFIG += depend_includepath
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
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 HEADERS += 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
25 contains(QT_EDITION, OpenSource) {
26    DEFINES += QMAKE_OPENSOURCE_EDITION
29 bootstrap { #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         qlist.cpp \
50         qlinkedlist.cpp \
51         qlocale.cpp \
52         qmalloc.cpp \
53         qmap.cpp \
54         qmetatype.cpp \
55         qregexp.cpp \
56         qtextcodec.cpp \
57         qutfcodec.cpp \
58         qstring.cpp \
59         qstringlist.cpp \
60         qtemporaryfile.cpp \
61         qtextstream.cpp \
62         qurl.cpp \
63         quuid.cpp \
64         qsettings.cpp \
65         qlibraryinfo.cpp \
66         qvariant.cpp \
67         qvector.cpp \
68         qvsnprintf.cpp
70    HEADERS+= \
71         qbitarray.h \
72         qbuffer.h \
73         qbytearray.h \
74         qbytearraymatcher.h \
75         qchar.h \
76         qcryptographichash.h \
77         qdatetime.h \
78         qdatetime_p.h \
79         qdir.h \
80         qdiriterator.h \
81         qfile.h \
82         qabstractfileengine.h \
83         qfileinfo.h \
84         qglobal.h \
85         qnumeric.h \
86         qhash.h \
87         qiodevice.h \
88         qlist.h \
89         qlinkedlist.h \
90         qlocale.h \
91         qmalloc.h \
92         qmap.h \
93         qmetatype.h \
94         qregexp.h \
95         qtextcodec.h \
96         qutfcodec.h \
97         qstring.h \
98         qstringlist.h \
99         qstringmatcher.h \
100         qtemporaryfile.h \
101         qtextstream.h \
102         qurl.h \
103         quuid.h \
104         qvector.h
106     unix {
107         SOURCES += qfsfileengine_unix.cpp qfsfileengine_iterator_unix.cpp
108         mac {
109           SOURCES += qcore_mac.cpp qsettings_mac.cpp
110           QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 #enables weak linking for 10.4 (exported)
111           LIBS += -framework ApplicationServices
112         }
113     } else:win32 {
114         SOURCES += qfsfileengine_win.cpp qfsfileengine_iterator_win.cpp qsettings_win.cpp
115         win32-msvc*:LIBS += ole32.lib advapi32.lib
116     }
118     qnx {
119         CFLAGS += -fhonor-std
120         LFLAGS += -lcpp
121     }
122     DEFINES *= QT_NO_QOBJECT
123     include($$QT_SOURCE_TREE/src/script/script.pri)
124 } else {
125     CONFIG += qt 
126     QT = core script
128 *-g++:profiling {
129   QMAKE_CFLAGS = -pg
130   QMAKE_CXXFLAGS = -pg
131   QMAKE_LFLAGS = -pg
134 PRECOMPILED_HEADER = qmake_pch.h