summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-07-01 09:57:33 +0200
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2015-11-19 16:04:56 +0000
commit97c8f6aa9c774aa0aac8948dd619e93944ec104a (patch)
tree662a098204b249fd2730f319b47e15bebbac0ffc /src/plugins/platforms
parentff4d8906f6e42feec1e55de7aa7e3bea3825cdee (diff)
OS X: Add opt-in for CoreFoundation event dispatcher
Opt-in by setting QT_EVENT_DISPATCHER_CORE_FOUNDATION=1 This will make QCoreApplication and QThread create a QEventDispatcherCoreFoundation instead of a QEventDispatcherUNIX. With this change we can now support calling native API that requires a running Core Foundation event loop on the QCoreApplication main thread and secondary threads. Previously this was only supported on the QGuiApplication main thread. Rewrite the #ifdef event dispatcher logic slightly: both OSX and GLIB now gets an "else" branch for the UNIX event dispatcher, instead of the current "dangling else" pattern which only works for one #ifdef case. Change-Id: If853567fa097fe007502b0804c2307a989719866 Task-number: QTBUG-46625 Task-number: QTBUG-48758 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions