qtmobility/common.pri
changeset 4 90517678cc4f
parent 0 cfcbf08528c4
child 5 453da2cfceef
--- a/qtmobility/common.pri	Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/common.pri	Mon May 03 13:18:40 2010 +0300
@@ -13,6 +13,11 @@
 
 include(staticconfig.pri)
 
+symbian:contains(symbian_symbols_unfrozen,1) {
+    #see configure.bat for details
+    MMP_RULES+="EXPORTUNFROZEN"
+}
+
 mac {
     contains(QT_CONFIG, qt_framework):contains(TEMPLATE, lib) {
         #MacOSX always builds debug and release libs when using mac framework
@@ -74,7 +79,7 @@
 contains(QT_CONFIG, reduce_exports):CONFIG+=hide_symbols
 
 #export more symbols if we build the unit tests
-#contains(build_unit_tests, yes):DEFINES+=QTM_BUILD_UNITTESTS
+contains(build_unit_tests, yes):DEFINES+=QTM_BUILD_UNITTESTS
 
 #test whether we have a unit test
 !testcase {
@@ -108,11 +113,6 @@
     QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
 }
 
-# On Symbian, we are freezing libraryies only
-#symbian:!isEmpty(defFilePath) {
-#    MMP_RULES += "EXPORTUNFROZEN"
-#}
-
 contains(TEMPLATE,.*lib):DEFINES += QT_SHARED
 
 maemo6 {
@@ -124,10 +124,6 @@
 maemo5 {
     DEFINES+= Q_WS_MAEMO_5
 }
-maemo* {
-    LIBS += -L/opt/qt4-maemo5/lib
-    QMAKE_LFLAGS += -Wl,-rpath,/opt/qt4-maemo5/lib
-}
 
 wince* {
     ### Bearer Management