[2] | 1 | CONFIG += depend_includepath
|
---|
| 2 |
|
---|
| 3 | #qmake code
|
---|
| 4 | SOURCES += 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 \
|
---|
[561] | 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 \
|
---|
[769] | 16 | windows/registry.cpp \
|
---|
| 17 | symbian/epocroot.cpp \
|
---|
[561] | 18 | generators/os2/gnumake.cpp
|
---|
| 19 |
|
---|
[2] | 20 | HEADERS += 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 \
|
---|
[389] | 26 | generators/win32/mingw_make.h generators/win32/msvc_objectmodel.h \
|
---|
[561] | 27 | generators/symbian/symmake.h \
|
---|
| 28 | generators/symbian/symmake_abld.h \
|
---|
| 29 | generators/symbian/symmake_sbsv2.h \
|
---|
| 30 | generators/symbian/initprojectdeploy_symbian.h \
|
---|
[769] | 31 | windows/registry.h \
|
---|
| 32 | symbian/epocroot.h \
|
---|
[389] | 33 | generators/os2/gnumake.h
|
---|
[2] | 34 |
|
---|
| 35 | contains(QT_EDITION, OpenSource) {
|
---|
| 36 | DEFINES += QMAKE_OPENSOURCE_EDITION
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | bootstrap { #Qt code
|
---|
[406] | 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
|
---|
[2] | 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 \
|
---|
[561] | 63 | qlist.cpp \
|
---|
[2] | 64 | qlinkedlist.cpp \
|
---|
| 65 | qlocale.cpp \
|
---|
| 66 | qmalloc.cpp \
|
---|
| 67 | qmap.cpp \
|
---|
| 68 | qmetatype.cpp \
|
---|
| 69 | qregexp.cpp \
|
---|
[561] | 70 | qtextcodec.cpp \
|
---|
| 71 | qutfcodec.cpp \
|
---|
[2] | 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 \
|
---|
[561] | 82 | qvsnprintf.cpp \
|
---|
| 83 | qxmlstream.cpp \
|
---|
| 84 | qxmlutils.cpp
|
---|
[2] | 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 \
|
---|
[561] | 111 | qtextcodec.h \
|
---|
| 112 | qutfcodec.h \
|
---|
[2] | 113 | qstring.h \
|
---|
| 114 | qstringlist.h \
|
---|
| 115 | qstringmatcher.h \
|
---|
| 116 | qtemporaryfile.h \
|
---|
| 117 | qtextstream.h \
|
---|
| 118 | qurl.h \
|
---|
| 119 | quuid.h \
|
---|
[561] | 120 | qvector.h \
|
---|
| 121 | qxmlstream.h \
|
---|
| 122 | qxmlutils.h
|
---|
[2] | 123 |
|
---|
| 124 | unix {
|
---|
| 125 | SOURCES += qfsfileengine_unix.cpp qfsfileengine_iterator_unix.cpp
|
---|
| 126 | mac {
|
---|
| 127 | SOURCES += qcore_mac.cpp qsettings_mac.cpp
|
---|
[561] | 128 | QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 #enables weak linking for 10.4 (exported)
|
---|
[2] | 129 | LIBS += -framework ApplicationServices
|
---|
| 130 | }
|
---|
| 131 | } else:win32 {
|
---|
[389] | 132 | SOURCES += qfsfileengine_win.cpp qfsfileengine_iterator_win.cpp qsettings_win.cpp
|
---|
[2] | 133 | win32-msvc*:LIBS += ole32.lib advapi32.lib
|
---|
[769] | 134 | win32-g++:LIBS += -lole32 -luuid
|
---|
[389] | 135 | } else:os2 {
|
---|
| 136 | SOURCES += qfsfileengine_os2.cpp qfsfileengine_iterator_os2.cpp qsettings_os2.cpp
|
---|
| 137 | LIBS += -lregistry.dll
|
---|
[2] | 138 | }
|
---|
| 139 |
|
---|
| 140 | qnx {
|
---|
| 141 | CFLAGS += -fhonor-std
|
---|
| 142 | LFLAGS += -lcpp
|
---|
| 143 | }
|
---|
| 144 | DEFINES *= QT_NO_QOBJECT
|
---|
| 145 | } else {
|
---|
| 146 | CONFIG += qt
|
---|
[561] | 147 | QT = core
|
---|
[2] | 148 | }
|
---|
| 149 | *-g++:profiling {
|
---|
| 150 | QMAKE_CFLAGS = -pg
|
---|
| 151 | QMAKE_CXXFLAGS = -pg
|
---|
| 152 | QMAKE_LFLAGS = -pg
|
---|
| 153 | }
|
---|
| 154 |
|
---|
| 155 | PRECOMPILED_HEADER = qmake_pch.h
|
---|