Qt 5.9 built with Glib support under macOS - event loop doesn't work
-
Re: Qt 5.2 built with Glib support under OS X - event loop doesn't work
Hello,
I realise this is an old thread, but I've been looking into this and I'd like to add my results anyway in the hopes that someone can help with more insights.
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).
My tests indicate that neither the QCocoaEventDispatcher nor the QEventDispatcherUNIX handle the glib events. A experimental hack to use QEventDispatcherGlib in QCoreApplication does work, which matches the observations for Qt 5.2.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.
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?
Kind regards,
Melanie -
Hi,
Pure supposition but I'd say likely lost. I'd recommend bringing the point to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
-
I'm marking this question as solved; the answer is here: http://lists.qt-project.org/pipermail/interest/2017-October/028271.html .
-
Thanks for the link !