QBluetoothServiceDiscoveryAgent usage in QThread .. signals and slots are not workign
-
hi,
I am having a problem with Qt 5.5 Bluetooth on MacOsx ( Yosemite) ; I am calling to start service discovery with QBluetoothServiceDiscoveryAgent::start, in QThread which is executing it's own eventloop. ::run method calling ::exec()
so in that case I do not get any signals to be emitted ( discovery finished, cancelled or servicediscovereded)
This is somehow now eventloop related issue ,but so far I have not found a better way to do this. I would like to make service discovery command syncronous, so that when finished signal is emitted call would return .
br. Matthew
-
@Matthew ,
Not sure but the problem I am facing sounds similar as described in :http://forum.qt.io/topic/43046/bluetooth-discovering-devices-services-never-ends
br . Matthew