summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluetooth.pro
diff options
context:
space:
mode:
authorMichael Zanetti <michael.zanetti@nokia.com>2012-04-12 09:35:42 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-26 02:48:16 +0200
commitd2ca81e42d20534ebf541d28501b076353c91a47 (patch)
treef488acde814f72606f6779f1209841738f6f4cae /src/bluetooth/bluetooth.pro
parent90002adc45f7104b71142473c193373af9bbc69d (diff)
Extend SPP profile to be used with NOKIA_BT_SERVICES
Change-Id: Ide681b442f50d7b126d93b891b58aba75832b881 Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/bluetooth/bluetooth.pro')
-rw-r--r--src/bluetooth/bluetooth.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bluetooth/bluetooth.pro b/src/bluetooth/bluetooth.pro
index 1de556a3..01597d83 100644
--- a/src/bluetooth/bluetooth.pro
+++ b/src/bluetooth/bluetooth.pro
@@ -82,6 +82,15 @@ contains(config_test_bluez, yes):contains(QT_CONFIG, dbus) {
qbluetoothtransfermanager_bluez.cpp \
ql2capserver_bluez.cpp
+ contains(DEFINES,NOKIA_BT_SERVICES) {
+ message("Enabling Nokia BT services")
+ QT += serviceframework
+ }
+ contains(DEFINES,NOKIA_BT_PATCHES) {
+ message("Enabling Nokia BT patches")
+ LIBS += -lbluetooth
+ }
+
} else {
message("Unsupported bluetooth platform, will not build a working QBluetooth library")
message("Either no Qt dBus found or no Bluez headers")