Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt with glib support on Mac
QtWS25 Last Chance

Qt with glib support on Mac

Scheduled Pinned Locked Moved Unsolved General and Desktop
os xglibqeventdispatche
4 Posts 2 Posters 1.9k 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
    mcosta
    wrote on 4 Nov 2015, 17:25 last edited by
    #1

    Hi guys,

    by default on Mac there's no GLib and then the default EventDispatcher is the one using select().
    select() has several problems but the biggest one is that it supports at most 1024 file descriptors.

    Reading at this bugreport there's no plan to write a different implementation for Unix systems.

    Has anyone some suggestion how enable the glib support in Qt?

    Once your problem is solved don't forget to:

    • Mark the thread as SOLVED using the Topic Tool menu
    • Vote up the answer(s) that helped you to solve the issue

    You can embed images using (http://imgur.com/) or (http://postimage.org/)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 4 Nov 2015, 22:24 last edited by
      #2

      Hi,

      You can install glib with e.g. macports or homebrew and rebuild Qt using it.

      Hope it helps

      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
      • M Offline
        M Offline
        mcosta
        wrote on 4 Nov 2015, 23:23 last edited by
        #3

        Hi @SGaist,

        for some constraints we have we need to build glib from sources (no brew). It has tons of dependencies.

        We're thinking about to write our EventDispatcher (using poll or kqueue). In case it works we'll propose it for a Qt patch

        Once your problem is solved don't forget to:

        • Mark the thread as SOLVED using the Topic Tool menu
        • Vote up the answer(s) that helped you to solve the issue

        You can embed images using (http://imgur.com/) or (http://postimage.org/)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 5 Nov 2015, 21:08 last edited by
          #4

          Sounds good :)

          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

          2/4

          4 Nov 2015, 22:24

          • Login

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