summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluez
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-03-07 15:05:03 +0100
committerAlex Blasche <alexander.blasche@qt.io>2018-03-08 15:51:38 +0000
commit24a07f0a94a0ac036866c18ef415f06dd1fb8bbe (patch)
tree990ede1194ddf315f33fb472cf3537f26e2eb976 /src/bluetooth/bluez
parent0a97e6cd908995699793b8513d3c7ef8020c2e32 (diff)
Enable new DBus LE backed for central role use casesv5.11.0-beta2
The manual override env variable was renamed. The new name is more fitting for the use case. Task-number: QTBUG-46819 Task-number: QTBUG-66908 Change-Id: I9202ebf3f847d5c7dcc9e3c84b060b35343dd2fd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/bluez')
-rw-r--r--src/bluetooth/bluez/bluez5_helper.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bluetooth/bluez/bluez5_helper.cpp b/src/bluetooth/bluez/bluez5_helper.cpp
index 90b7e5e0..f798088e 100644
--- a/src/bluetooth/bluez/bluez5_helper.cpp
+++ b/src/bluetooth/bluez/bluez5_helper.cpp
@@ -197,8 +197,9 @@ QVersionNumber bluetoothdVersion()
if (bluezDaemonVersion()->isNull()) {
qCDebug(QT_BT_BLUEZ) << "Detecting bluetoothd version";
//Order of matching
- // 1. Pick whatever the user decides via BLUETOOTH_USE_BLUEZ_DBUS_LE
- const QString version = qEnvironmentVariable("BLUETOOTH_USE_BLUEZ_DBUS_LE");
+ // 1. Pick whatever the user decides via BLUETOOTH_FORCE_DBUS_LE_VERSION
+ // Set version to below version 5.42 to use custom/old GATT stack implementation
+ const QString version = qEnvironmentVariable("BLUETOOTH_FORCE_DBUS_LE_VERSION");
if (!version.isNull()) {
const QVersionNumber vn = QVersionNumber::fromString(version);
if (!vn.isNull()) {