Changeset 561 for trunk/src/qbase.pri


Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/qbase.pri

    r385 r561  
    1212CONFIG += qt_install_headers
    1313HEADERS_PRI = $$QT_BUILD_TREE/include/$$TARGET/headers.pri
    14 include($$HEADERS_PRI)|clear(HEADERS_PRI)
     14include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
    1515
    1616#version overriding
     
    3535CONFIG          -= fix_output_dirs
    3636win32|mac:!macx-xcode:CONFIG += debug_and_release
    37 linux-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
     37linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF
    3838
    3939contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
     
    6666mac {
    6767   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    }
    7368   macx-g++ {
    7469       QMAKE_CFLAGS += -fconstant-cfstrings
     
    9388    !static: DEFINES+=QT_MAKEDLL
    9489}
     90symbian {
     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}
    95124win32-borland:INCLUDEPATH += kernel
    96125
     
    114143include(qt_install.pri)
    115144
    116 unix {
     145unix:!symbian {
    117146   CONFIG     += create_libtool create_pc explicitlib
    118147   QMAKE_LIBTOOL_LIBDIR = $$[QT_INSTALL_LIBS]
     
    134163
    135164contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE
    136 DEFINES += QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
     165DEFINES *= QT_NO_CAST_TO_ASCII QT_ASCII_CAST_WARNINGS
    137166contains(QT_CONFIG, qt3support):DEFINES *= QT3_SUPPORT
    138167DEFINES *= 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.