summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Juhani Lehtonen <kalle.ju.lehtonen@nokia.com>2010-11-01 15:46:43 +1000
committerAlexander Abramov <alexander.abramov@nokia.com>2010-11-01 16:32:43 +1000
commitfbbf8dad1046695fa14713f08ecdd19b81c67ea6 (patch)
treecb4215083525fc8efc7b9e6f89a639080ec6e973
parent4de847c7fa7e5ccbc7841b3beab9a095a4779053 (diff)
Fix for QtBearer 10.0 binary version WINSCW compilationv1.1.0
Added USERINCLUDE for the bearer folder, because compilation found Qt's QtBearer headers instead of the QtMobility ones. (cherry picked from commit bec7b6c37e882556623fbd14794c2b474eff4e2c)
-rw-r--r--src/bearer/bearer.pro4
-rw-r--r--src/bearer/bearer_old/bearer_old.pro14
2 files changed, 9 insertions, 9 deletions
diff --git a/src/bearer/bearer.pro b/src/bearer/bearer.pro
index 78ca79bc07..adaceb22fa 100644
--- a/src/bearer/bearer.pro
+++ b/src/bearer/bearer.pro
@@ -5,10 +5,6 @@ TARGET = QtBearer
QT += network
include (../../common.pri)
-DEFINES += QT_BUILD_BEARER_LIB QT_MAKEDLL
-
-#DEFINES += BEARER_MANAGEMENT_DEBUG
-
PUBLIC_HEADERS += qnetworkconfiguration.h \
qnetworksession.h \
qnetworkconfigmanager.h
diff --git a/src/bearer/bearer_old/bearer_old.pro b/src/bearer/bearer_old/bearer_old.pro
index b8859f5fcb..ac988c76ef 100644
--- a/src/bearer/bearer_old/bearer_old.pro
+++ b/src/bearer/bearer_old/bearer_old.pro
@@ -7,16 +7,20 @@ message("Building QtBearer 10.0 to support version conflict in Symbian")
VPATH += ..
-include (../../../common.pri)
-include (../bearer.pri)
-
-
HEADERS += qnetworkconfiguration.h \
qnetworksession.h \
qnetworkconfigmanager.h
-
+
+include (../../../common.pri)
+include (../bearer.pri)
symbian {
+
+ # there are same name public headers from Qt
+ # and this needs to be added to ensure QtBearer
+ # uses its own when the 10.0 version is compiled
+ MMP_RULES += "USERINCLUDE .."
+
CONFIG += def_files_disabled
MMP_RULES += defBlock
defBlock = \