Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.14
-
None
Description
Creating an instance of QBluetoothDeviceDiscoveryAgent on a thread other than the main Qt thread causes this warning:
QObject: Cannot create children for a parent that is in a different thread
(Parent is QBluetoothDeviceDiscoveryAgentPrivate, parent's thread is QThread(0x...) ... )
The QBluetoothDeviceDiscoveryAgentPrivate is an unparented QObject and isn't being moved with its parent to a new thread.
Do you know if parenting QBluetoothDeviceDiscoveryAgentPrivate to QBluetoothDeviceDiscoveryAgent would fix this?