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