Details
-
Bug
-
Resolution: Invalid
-
P4: Low
-
None
-
5.12.4, 5.13.0
-
None
-
Windows 10 Version 1809 (build 17763.678)
Avantree DG40S USB Bluetooth 4.0 Adapter Dongle
Qt 5.13.0 MSVC 2017 64 bit
Description
Tested with a slightly modified version of the code demonstrated here:
https://doc.qt.io/qt-5/qtbluetooth-overview.html#retrieving-local-device-information
QBluetoothLocalDevice localDevice; QString localDeviceName; if (localDevice.isValid()) { localDevice.powerOn(); localDeviceName = localDevice.name(); qDebug() << "Local device name: " << localDeviceName; }
Result as per subject.