Qt with glib support on Mac
Unsolved
General and Desktop
-
Hi guys,
by default on Mac there's no GLib and then the default
EventDispatcher
is the one usingselect()
.
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?
-
Hi,
You can install glib with e.g. macports or homebrew and rebuild Qt using it.
Hope it helps
-
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
-
Sounds good :)
1/4