summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller.cpp
diff options
context:
space:
mode:
authorAndre de la Rocha <andre.rocha@qt.io>2018-11-23 18:04:40 +0100
committerAndre de la Rocha <andre.rocha@qt.io>2019-08-05 09:16:09 +0200
commit8b7b52d66f2616040ca4aaae3f2732be96e19ab8 (patch)
treebfc38942bd95718030a142540821f28911a611ef /src/bluetooth/qlowenergycontroller.cpp
parent5a2c8a39d76d634161e87b1c55d36cbbcc778289 (diff)
Enable the use of the Win32 Bluetooth backend
This change enables the optional use of the Win32-based Bluetooth backend on Windows. By default, the WinRT backend is used, if supported by the platform. The use of the Win32 backend must be selected by the -native-win32-bluetooth configuration option. Task-number: QTBUG-40698 Change-Id: I6904bf077467d826e3ff5ad026ebae5f955f2e37 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r--src/bluetooth/qlowenergycontroller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp
index c3742b76..444bfb38 100644
--- a/src/bluetooth/qlowenergycontroller.cpp
+++ b/src/bluetooth/qlowenergycontroller.cpp
@@ -324,6 +324,7 @@ static QLowEnergyControllerPrivate *privateController(QLowEnergyController::Role
return new QLowEnergyControllerPrivateWinRT();
#endif
#elif defined(QT_WIN_BLUETOOTH)
+ Q_UNUSED(role);
return new QLowEnergyControllerPrivateWin32();
#else
Q_UNUSED(role);