summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/bluez/bluez5_helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/bluez/bluez5_helper.cpp')
-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()) {