Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt 5.9 built with Glib support under macOS - event loop doesn't work

Qt 5.9 built with Glib support under macOS - event loop doesn't work

Scheduled Pinned Locked Moved Solved 3rd Party Software
os xmac osglib
5 Posts 2 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Melanie
    wrote on last edited by Melanie
    #1

    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

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Melanie
        wrote on last edited by
        #3

        Hi SGaist,

        thank you or your answer, I'll ask the question on the mailing list.

        Kind regards,
        Melanie

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Melanie
          wrote on last edited by
          #4

          I'm marking this question as solved; the answer is here: http://lists.qt-project.org/pipermail/interest/2017-October/028271.html .

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Thanks for the link !

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved