Changeset 651 for trunk/src/qbase.pri


Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/qbase.pri

    r594 r651  
    9292        TARGET.CAPABILITY = All -Tcb
    9393
    94         defBlock = \
    95         "$${LITERAL_HASH}ifdef WINSCW" \
    96         "DEFFILE ../s60installs/bwins/$${TARGET}.def" \
    97         "$${LITERAL_HASH}elif defined EABI" \
    98         "DEFFILE ../s60installs/eabi/$${TARGET}.def" \
    99         "$${LITERAL_HASH}endif"
    100 
    101         contains(QT_CONFIG, private_tests) {
    102             #When building autotest configuration, there are extra exports from
    103             #the Qt DLLs, which we don't want in the frozen DEF files.
    104             MMP_RULES += EXPORTUNFROZEN
    105         } else {
    106             #When building without autotests, DEF files are used by default.
    107             #This is to maintain binary compatibility with previous releases.
    108            
    109             #with defBlock enabled, removed exported symbols are treated as errors
    110             #and there is binary compatibility between successive builds.
    111             #with defBlock disabled, binary compatibility is broken every time you build
    112             MMP_RULES += defBlock
    113 
    114             #with EXPORTUNFROZEN enabled, new exports are included in the dll without
    115             #needing to run abld freeze, however binary compatibility is only maintained
    116             #for symbols that are frozen (and only if defBlock is also enabled)
    117             #the downside of EXPORTUNFROZEN is that the linker gets run twice
    118             #MMP_RULES += EXPORTUNFROZEN
     94        # When building without autotests, DEF files are used by default.
     95        # This is to maintain binary compatibility with previous releases.
     96        # To explicitly disable DEF files usage, eg. when lots of code churn is
     97        # going on, and functions may be added and removed before shipping,
     98        # configure with -no-usedeffiles
     99        # WARNING - disabling DEF files *will* break BC with previous released versions
     100        # of Qt, and the only compatibility will be between this build of Qt and anything
     101        # built in this exact environment.  *Never* use this when building a version
     102        # for release.
     103        contains(CONFIG, def_files) {
     104            defFilePath=../s60installs
    119105        }
    120106    }
Note: See TracChangeset for help on using the changeset viewer.