diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-12 00:42:22 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-12 00:42:22 (GMT) |
commit | 4e3f88c8b1d74b720bf3e17f9bdedf84a9748b3d (patch) | |
tree | c23b51ac0a1a244a0f18d287f0feebb20268eefb /src/qbase.pri | |
parent | 49cc2d35d7da4a78d696503930720e88a6403722 (diff) | |
parent | a4053a6e7a9a686433dc4814a5b52da3bc96969f (diff) | |
download | Qt-4e3f88c8b1d74b720bf3e17f9bdedf84a9748b3d.zip Qt-4e3f88c8b1d74b720bf3e17f9bdedf84a9748b3d.tar.gz Qt-4e3f88c8b1d74b720bf3e17f9bdedf84a9748b3d.tar.bz2 |
Merge branch '4.6' of git://scm.dev.nokia.troll.no/qt/qt into kinetic-declarativeui
Diffstat (limited to 'src/qbase.pri')
-rw-r--r-- | src/qbase.pri | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/src/qbase.pri b/src/qbase.pri index 4639ca1..6428130 100644 --- a/src/qbase.pri +++ b/src/qbase.pri @@ -101,16 +101,25 @@ symbian { "DEFFILE ../s60installs/eabi/$${TARGET}.def" \ "$${LITERAL_HASH}endif" - #with defBlock enabled, removed exported symbols are treated as errors - #and there is binary compatibility between successive builds. - #with defBlock disabled, binary compatibility is broken every time you build - #MMP_RULES += defBlock - - #with EXPORTUNFROZEN enabled, new exports are included in the dll without - #needing to run abld freeze, however binary compatibility is only maintained - #for symbols that are frozen (and only if defBlock is also enabled) - #the downside of EXPORTUNFROZEN is that the linker gets run twice - MMP_RULES += EXPORTUNFROZEN + contains(QT_CONFIG, private_tests) { + #When building autotest configuration, there are extra exports from + #the Qt DLLs, which we don't want in the frozen DEF files. + MMP_RULES += EXPORTUNFROZEN + } else { + #When building without autotests, DEF files are used by default. + #This is to maintain binary compatibility with previous releases. + + #with defBlock enabled, removed exported symbols are treated as errors + #and there is binary compatibility between successive builds. + #with defBlock disabled, binary compatibility is broken every time you build + MMP_RULES += defBlock + + #with EXPORTUNFROZEN enabled, new exports are included in the dll without + #needing to run abld freeze, however binary compatibility is only maintained + #for symbols that are frozen (and only if defBlock is also enabled) + #the downside of EXPORTUNFROZEN is that the linker gets run twice + #MMP_RULES += EXPORTUNFROZEN + } } load(armcc_warnings) } |