Changeset 561 for trunk/src/qbase.pri
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/qbase.pri
r385 r561 12 12 CONFIG += qt_install_headers 13 13 HEADERS_PRI = $$QT_BUILD_TREE/include/$$TARGET/headers.pri 14 include($$HEADERS_PRI )|clear(HEADERS_PRI)14 include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI) 15 15 16 16 #version overriding … … 35 35 CONFIG -= fix_output_dirs 36 36 win32|mac:!macx-xcode:CONFIG += debug_and_release 37 linux -g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF37 linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF 38 38 39 39 contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols … … 66 66 mac { 67 67 CONFIG += explicitlib 68 true { #we want to use O2 on Qt itself (Os was used to fix other failures in older GCC)69 QMAKE_CFLAGS_RELEASE ~= s,-Os,-O2,70 QMAKE_CXXFLAGS_RELEASE ~= s,-Os,-O2,71 QMAKE_OBJECTIVE_CFLAGS_RELEASE ~= s,-Os,-O2,72 }73 68 macx-g++ { 74 69 QMAKE_CFLAGS += -fconstant-cfstrings … … 93 88 !static: DEFINES+=QT_MAKEDLL 94 89 } 90 symbian { 91 shared { 92 DEFINES+=QT_MAKEDLL 93 TARGET.CAPABILITY = All -Tcb 94 95 defBlock = \ 96 "$${LITERAL_HASH}ifdef WINSCW" \ 97 "DEFFILE ../s60installs/bwins/$${TARGET}.def" \ 98 "$${LITERAL_HASH}elif defined EABI" \ 99 "DEFFILE ../s60installs/eabi/$${TARGET}.def" \ 100 "$${LITERAL_HASH}endif" 101 102 contains(QT_CONFIG, private_tests) { 103 #When building autotest configuration, there are extra exports from 104 #the Qt DLLs, which we don't want in the frozen DEF files. 105 MMP_RULES += EXPORTUNFROZEN 106 } else { 107 #When building without autotests, DEF files are used by default. 108 #This is to maintain binary compatibility with previous releases. 109 110 #with defBlock enabled, removed exported symbols are treated as errors 111 #and there is binary compatibility between successive builds. 112 #with defBlock disabled, binary compatibility is broken every time you build 113 MMP_RULES += defBlock 114 115 #with EXPORTUNFROZEN enabled, new exports are included in the dll without 116 #needing to run abld freeze, however binary compatibility is only maintained 117 #for symbols that are frozen (and only if defBlock is also enabled) 118 #the downside of EXPORTUNFROZEN is that the linker gets run twice 119 #MMP_RULES += EXPORTUNFROZEN 120 } 121 } 122 load(armcc_warnings) 123 } 95 124 win32-borland:INCLUDEPATH += kernel 96 125 … … 114 143 include(qt_install.pri) 115 144 116 unix {145 unix:!symbian { 117 146 CONFIG += create_libtool create_pc explicitlib 118 147 QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS] … … 134 163 135 164 contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE 136 DEFINES += QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS165 DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS 137 166 contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT 138 167 DEFINES *= QT_MOC_COMPAT #we don't need warnings from calling moc code in our generated code
Note:
See TracChangeset
for help on using the changeset viewer.