Changeset 846 for trunk/mkspecs/features/symbian/stl.prf
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/mkspecs/features/symbian/stl.prf
r769 r846 13 13 # Remove mkspecs/common/symbian/stl-off from beginning of includepath 14 14 # in order to use new and delete operators from STL 15 INCLUDEPATH -= $$[QT_INSTALL_ PREFIX]/mkspecs/common/symbian/stl-off15 INCLUDEPATH -= $$[QT_INSTALL_DATA]/mkspecs/common/symbian/stl-off 16 16 17 17 # libstdcppv5 is preferred over libstdcpp as it has/uses the throwing version of operator new 18 STL_LIB = -llibstdcppv5.dll19 20 18 # STDCPP turns on standard C++ new behaviour (ie. throwing new) 21 STL_MMP_RULE = "STDCPP" 19 use_libstdcppv5 = true 22 20 23 21 # 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 = 22 exists($${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 28 25 } 29 26 } 30 27 31 LIBS *= $$STL_LIB 32 MMP_RULES *= $$STL_MMP_RULE 28 equals(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 41 exists($${EPOCROOT}epoc32/release/armv5/urel/usrt_nx_*.lib) { 42 CONFIG += nested_exceptions 43 }
Note:
See TracChangeset
for help on using the changeset viewer.