summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/bluetooth.pro2
-rw-r--r--src/bluetooth/configure.json2
-rw-r--r--src/src.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/bluetooth.pro b/src/bluetooth/bluetooth.pro
index 601e2bcd..03cbb8d0 100644
--- a/src/bluetooth/bluetooth.pro
+++ b/src/bluetooth/bluetooth.pro
@@ -78,7 +78,7 @@ SOURCES += \
qlowenergycontroller.cpp \
qlowenergyserviceprivate.cpp
-qtConfig(bluez):qtHaveModule(dbus) {
+qtConfig(bluez) {
QT_FOR_PRIVATE += dbus
DEFINES += QT_BLUEZ_BLUETOOTH
diff --git a/src/bluetooth/configure.json b/src/bluetooth/configure.json
index aebb3b3f..e348030b 100644
--- a/src/bluetooth/configure.json
+++ b/src/bluetooth/configure.json
@@ -29,7 +29,7 @@
"features": {
"bluez": {
"label": "BlueZ",
- "condition": "libs.bluez",
+ "condition": "libs.bluez && features.dbus",
"output": [ "publicFeature" ]
},
"bluez_le": {
diff --git a/src/src.pro b/src/src.pro
index 256e7363..dba9de4b 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -23,7 +23,7 @@ qtHaveModule(quick) {
include($$OUT_PWD/bluetooth/qtbluetooth-config.pri)
QT_FOR_CONFIG += bluetooth
-qtConfig(bluez):qtHaveModule(dbus) {
+qtConfig(bluez) {
sdpscanner.subdir = tools/sdpscanner
sdpscanner.depends = bluetooth
SUBDIRS += sdpscanner