Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.7.0 Alpha
-
None
-
Ubuntu 15.10 (Virtualbox Guest)
BlueZ 5.35
Description
QBluetoothLocalDevice on Qt 5.7 Alpha doesn't seem to be able to detect my Bluetooth adapter. QBluetoothLocalDevice::allDevices() returns an empty list, and any QBluetoothLocalDevice object that I try to create returns null addresses with isValid() always false even if I explicitly specify the MAC address of the local Bluetooth device in the constructor. When I run the same exact code on 5.6 it finds the device just fine and returns the same MAC address that is displayed in hciconfig.
I can see the device is up and running when I do hciconfig, and the device is visible when I query DBus managed objects (the output from that is here: http://pastebin.com/Zg3QieVS). The hciconfig output is below:
hci0: Type: BR/EDR Bus: USB BD Address: 5C:F3:70:72:5B:C6 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:712 acl:0 sco:0 events:50 errors:0 TX bytes:2507 acl:0 sco:0 commands:50 errors:0
I've attached the minimal example that I've been using to test this.
I built the alpha from the source file here. I was unable to use the beta snapshot .run file here as it complained that it couldn't find a license whenever I tried to compile, even when I installed it as open source.