diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2018-11-23 18:04:40 +0100 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2019-08-05 09:16:09 +0200 |
commit | 8b7b52d66f2616040ca4aaae3f2732be96e19ab8 (patch) | |
tree | bfc38942bd95718030a142540821f28911a611ef /src/bluetooth/qlowenergycontroller.cpp | |
parent | 5a2c8a39d76d634161e87b1c55d36cbbcc778289 (diff) | |
download | qtconnectivity-8b7b52d66f2616040ca4aaae3f2732be96e19ab8.tar.gz |
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.cpp | 1 |
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); |