<div dir="ltr"><div>Hello,</div><div><br></div><div>Re: <a href="https://forum.qt.io/topic/40666/qt-5-2-built-with-glib-support-under-os-x-event-loop-doesn-t-work">https://forum.qt.io/topic/40666/qt-5-2-built-with-glib-support-under-os-x-event-loop-doesn-t-work</a> .</div><div><br></div><div>I'm having the same problem with a Qt 5.9 which was built with the -glib option, except that it also doesn't work with a QCoreApplication. A quick look at the code of QCoreApplicationPrivate::createEventDispatcher makes me suspect this changed in between Qt 5.5 and Qt 5.6 (commit 97c8f6aa9c774aa0aac8948dd619e93944ec104a, if I'm not mistaken).</div><div>My tests indicate that neither the QCocoaEventDispatcher nor the QEventDispatcherUNIX handle the glib events. An experimental hack to use QEventDispatcherGlib in QCoreApplication does work, which matches the observations for Qt 5.2.</div><div><br></div><div>On the Gui side, I have the impression that it was dropped or got lost during the major reworks for Qt 5. I haven't been able to find out if this was intentional or accidental.</div><div><br></div><div>So I'm wondering if the glib event loop is supported for Qt5 on macOS, and if so, how do I enable support for it?</div><div><br></div><div>Kind regards,</div><div>Melanie</div><div><br></div></div>