Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/mkspecs/features/symbian/stl.prf

    r769 r846  
    1313# Remove mkspecs/common/symbian/stl-off from beginning of includepath
    1414# in order to use new and delete operators from STL
    15 INCLUDEPATH -= $$[QT_INSTALL_PREFIX]/mkspecs/common/symbian/stl-off
     15INCLUDEPATH -= $$[QT_INSTALL_DATA]/mkspecs/common/symbian/stl-off
    1616
    1717# libstdcppv5 is preferred over libstdcpp as it has/uses the throwing version of operator new
    18 STL_LIB = -llibstdcppv5.dll
    19 
    2018# STDCPP turns on standard C++ new behaviour (ie. throwing new)
    21 STL_MMP_RULE = "STDCPP"
     19use_libstdcppv5 = true
    2220
    2321# Fall back to old implementation if that is the only one that is found
    24 exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcpp.dll)|exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcpp.dll) {
    25     !exists($${EPOCROOT}epoc32/release/armv5/urel/libstdcppv5.dll):!exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcppv5.dll) {
    26         STL_LIB = -llibstdcpp.dll
    27         STL_MMP_RULE =
     22exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcpp.dso)|exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcpp.dll) {
     23    !exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcppv5.dso):!exists($${EPOCROOT}epoc32/release/winscw/udeb/libstdcppv5.dll) {
     24        use_libstdcppv5 = false
    2825    }
    2926}
    3027
    31 LIBS *= $$STL_LIB
    32 MMP_RULES *= $$STL_MMP_RULE
     28equals(use_libstdcppv5, true) {
     29    LIBS *= -llibstdcppv5.dll
     30    symbian-abld|symbian-sbsv2 {
     31        MMP_RULES *= "STDCPP"
     32    } else {
     33        DEFINES *= __SYMBIAN_STDCPP_SUPPORT__
     34        LIBS *= -lstdnew.dll
     35    }
     36} else {
     37    LIBS *= -llibstdcpp.dll
     38}
     39
     40# use the runtime support for nested exceptions, if a library is available
     41exists($${EPOCROOT}epoc32/release/armv5/urel/usrt_nx_*.lib) {
     42    CONFIG += nested_exceptions
     43}
Note: See TracChangeset for help on using the changeset viewer.