summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-06-03 04:56:33 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-06-03 04:56:33 (GMT)
commitab9cb342554e89e0ff51afe3e8063d2719af16b1 (patch)
tree634841b12e25d59824e5273456b4e00ab16c65a9 /src/plugins/bearer
parent5f09880833fe39b49881469d19f09daaf5ef27e6 (diff)
downloadQt-ab9cb342554e89e0ff51afe3e8063d2719af16b1.zip
Qt-ab9cb342554e89e0ff51afe3e8063d2719af16b1.tar.gz
Qt-ab9cb342554e89e0ff51afe3e8063d2719af16b1.tar.bz2
Revert "Split Symbian bearer plugin into three platform specfic plugins"
This reverts commit cd50f97a9f09eece645c9d7d01cb14c04521a915. Fails on tb9.2, reverting while working on a fix.
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/symbian/3_1/3_1.pro4
-rw-r--r--src/plugins/bearer/symbian/3_2/3_2.pro12
-rw-r--r--src/plugins/bearer/symbian/symbian.pri30
-rw-r--r--src/plugins/bearer/symbian/symbian.pro42
-rw-r--r--src/plugins/bearer/symbian/symbian_3/symbian_3.pro14
5 files changed, 40 insertions, 62 deletions
diff --git a/src/plugins/bearer/symbian/3_1/3_1.pro b/src/plugins/bearer/symbian/3_1/3_1.pro
deleted file mode 100644
index a60d18b..0000000
--- a/src/plugins/bearer/symbian/3_1/3_1.pro
+++ /dev/null
@@ -1,4 +0,0 @@
-include(../symbian.pri)
-
-LIBS += -lapengine
-TARGET = $${TARGET}_3_1
diff --git a/src/plugins/bearer/symbian/3_2/3_2.pro b/src/plugins/bearer/symbian/3_2/3_2.pro
deleted file mode 100644
index 4e5b416..0000000
--- a/src/plugins/bearer/symbian/3_2/3_2.pro
+++ /dev/null
@@ -1,12 +0,0 @@
-include(../symbian.pri)
-
-exists($${EPOCROOT}epoc32/release/winscw/udeb/cmmanager.lib)| \
-exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
- DEFINES += SNAP_FUNCTIONALITY_AVAILABLE
- LIBS += -lcmmanager
-} else {
- # Fall back to 3_1 implementation on platforms that do not have cmmanager
- LIBS += -lapengine
-}
-
-TARGET = $${TARGET}_3_2
diff --git a/src/plugins/bearer/symbian/symbian.pri b/src/plugins/bearer/symbian/symbian.pri
deleted file mode 100644
index bfcd9ed..0000000
--- a/src/plugins/bearer/symbian/symbian.pri
+++ /dev/null
@@ -1,30 +0,0 @@
-TARGET = qsymbianbearer
-include(../../qpluginbase.pri)
-
-QT += network
-
-HEADERS += ../symbianengine.h \
- ../qnetworksession_impl.h
-
-SOURCES += ../symbianengine.cpp \
- ../qnetworksession_impl.cpp \
- ../main.cpp
-
-TARGET.UID3=0x20021319
-
-INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
-symbian-abld:INCLUDEPATH += $$QT_BUILD_TREE/include/QtNetwork/private
-
-LIBS += -lcommdb \
- -lapsettingshandlerui \
- -lconnmon \
- -lcentralrepository \
- -lesock \
- -linsock \
- -lecom \
- -lefsrv \
- -lnetmeta
-
-QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/bearer
-target.path += $$[QT_INSTALL_PLUGINS]/bearer
-INSTALLS += target
diff --git a/src/plugins/bearer/symbian/symbian.pro b/src/plugins/bearer/symbian/symbian.pro
index f320eb6..4f1e51c 100644
--- a/src/plugins/bearer/symbian/symbian.pro
+++ b/src/plugins/bearer/symbian/symbian.pro
@@ -1,3 +1,41 @@
-TEMPLATE = subdirs
+TARGET = qsymbianbearer
+include(../../qpluginbase.pri)
-SUBDIRS += 3_1 3_2 symbian_3 \ No newline at end of file
+QT += network
+
+HEADERS += symbianengine.h \
+ qnetworksession_impl.h
+
+SOURCES += symbianengine.cpp \
+ qnetworksession_impl.cpp \
+ main.cpp
+
+symbian {
+ TARGET.UID3=0x20021319
+ exists($${EPOCROOT}epoc32/release/winscw/udeb/cmmanager.lib)| \
+ exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
+ message("Building with SNAP support")
+ DEFINES += SNAP_FUNCTIONALITY_AVAILABLE
+ LIBS += -lcmmanager
+ } else {
+ message("Building without SNAP support")
+ LIBS += -lapengine
+ }
+}
+
+INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
+symbian-abld:INCLUDEPATH += $$QT_BUILD_TREE/include/QtNetwork/private
+
+LIBS += -lcommdb \
+ -lapsettingshandlerui \
+ -lconnmon \
+ -lcentralrepository \
+ -lesock \
+ -linsock \
+ -lecom \
+ -lefsrv \
+ -lnetmeta
+
+QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/bearer
+target.path += $$[QT_INSTALL_PLUGINS]/bearer
+INSTALLS += target
diff --git a/src/plugins/bearer/symbian/symbian_3/symbian_3.pro b/src/plugins/bearer/symbian/symbian_3/symbian_3.pro
deleted file mode 100644
index 455aa67..0000000
--- a/src/plugins/bearer/symbian/symbian_3/symbian_3.pro
+++ /dev/null
@@ -1,14 +0,0 @@
-include(../symbian.pri)
-
-exists($${EPOCROOT}epoc32/release/winscw/udeb/cmmanager.lib)| \
-exists($${EPOCROOT}epoc32/release/armv5/lib/cmmanager.lib) {
- DEFINES += SNAP_FUNCTIONALITY_AVAILABLE
- LIBS += -lcmmanager
-
- exists($$MW_LAYER_PUBLIC_EXPORT_PATH(extendedconnpref.h)) {
- DEFINES += OCC_FUNCTIONALITY_AVAILABLE
- }
-} else {
- # Fall back to 3_1 implementation on platforms that do not have cmmanager
- LIBS += -lapengine
-}