summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-02-20 09:39:56 +0100
committerAlex Blasche <alexander.blasche@qt.io>2018-02-20 09:39:56 +0100
commita34a645e89aea7f19d2ed14af00099768a07a6be (patch)
tree700efe52fc2ba6345b26316188fb0cfbc8e49a15 /src/bluetooth/qlowenergycontroller.cpp
parenta18338b552d45b6877e89221a5d6205081a54308 (diff)
parentb87affb8b2353af57ed5e736d82d67eb56ea1235 (diff)
Merge remote-tracking branch 'gerrit/dev' into win
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp
index bbe1a67f..b9b7080c 100644
--- a/src/bluetooth/qlowenergycontroller.cpp
+++ b/src/bluetooth/qlowenergycontroller.cpp
@@ -297,8 +297,9 @@ void registerQLowEnergyControllerMetaType()
static QLowEnergyControllerPrivate *privateController()
{
#if QT_CONFIG(bluez) && !defined(QT_BLUEZ_NO_BTLE)
- if (isBluez5DbusGatt()) {
- qCWarning(QT_BT) << "Using BlueZ DBus API";
+ // for now Bluez DBus disabled
+ if (false && bluetoothdVersion() >= QVersionNumber(5, 42)) {
+ qCWarning(QT_BT) << "Using BlueZ LE DBus API";
return new QLowEnergyControllerPrivateBluezDBus();
} else {
qCWarning(QT_BT) << "Using BlueZ kernel ATT interface";