Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
OS X
-
97c8f6aa9c774aa0aac8948dd619e93944ec104a, e117459e0d3d0670aa2cc60dfa3eafe81bbf11a9
Description
While implementing Qt bluetooth service discovery , I could not get signals and slots from found services when I was executing service discovery in separate class derived from QThread.
Service discovery never finished (discoveryFinished not received) , all the signal slots connections were done successfully before discovery was started
Only way I got this working was to use thread of QCoreApplication::instance()->thread();
Is this a feature or a bug or what is the reason that event loop in separate thread does not work with this
Attachments
Issue Links
- depends on
-
QTBUG-51961 QTimer does not work in a thread with CoreFoundation event dispatcher
- Closed
For Gerrit Dashboard: QTBUG-48758 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140345,3 | OS X: Add opt-in for CoreFoundation event dispatcher | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
140802,5 | Make CoreFoundation event dispatcher available on OS X also | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
411489,4 | Darwin: Use Core Foundation event dispatcher for non-GUI main threads | dev | qt/qtbase | Status: DEFERRED | -1 | 0 |