Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7
-
-
8
-
86cd96a6b (dev), b073ee5c1 (6.8), 6d9110978 (6.7), 7c64e6062 (tqtc/lts-6.5)
-
Foundation Sprint 114, Foundation Sprint 115
Description
The macOS backend uses IOBluetoothHostController in its implementation. This class does not provide any ways to set the host mode, so QBluetoothLocalDevice::setHostMode() is effectively a no-op.
However, the user can toggle bluetooth on and off from the system settings. We need to investigate if we can detect such external adapter state changes and emit the QBluetoothLocalDevice::hostModeStateChanged() signal in response.
If there's no platform-specific API to detect the adapter state changes, we should at least explicitly mention in the documentation that the signal is not emitted on macOS.
Attachments
For Gerrit Dashboard: QTBUG-123425 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
584125,10 | Darwin: Add Bluetooth state monitoring for QBluetoothLocalDevice | dev | qt/qtconnectivity | Status: MERGED | +2 | +1 |
586923,3 | Darwin: Add Bluetooth state monitoring for QBluetoothLocalDevice | 6.8 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
586973,2 | Darwin: Add Bluetooth state monitoring for QBluetoothLocalDevice | 6.7 | qt/qtconnectivity | Status: MERGED | +2 | 0 |
587194,2 | Darwin: Add Bluetooth state monitoring for QBluetoothLocalDevice | tqtc/lts-6.5 | qt/tqtc-qtconnectivity | Status: MERGED | +2 | 0 |