diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-02-20 09:39:56 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-02-20 09:39:56 +0100 |
commit | a34a645e89aea7f19d2ed14af00099768a07a6be (patch) | |
tree | 700efe52fc2ba6345b26316188fb0cfbc8e49a15 /src/bluetooth/qlowenergycontroller.cpp | |
parent | a18338b552d45b6877e89221a5d6205081a54308 (diff) | |
parent | b87affb8b2353af57ed5e736d82d67eb56ea1235 (diff) |
Merge remote-tracking branch 'gerrit/dev' into win
Change-Id: I4e86dcfe5088b0bd5087de309c435250c76d4718
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.cpp | 5 |
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"; |