Qt->glib main event loop patch (common main loop)
ettrich at trolltech.com
Mon Nov 14 13:54:18 GMT 2005
On Monday 14 November 2005 14:42, Matthias Ettrich wrote:
> On Monday 14 November 2005 01:03, nf2 wrote:
> > Glib main loop has been designed to be totally toolkit independent. It
> > has no Gtk+ or x11 code inside. As i mentioned earlier glib only depends
> > on libc.
> Glib is unfortunately far more than just the event loop, thus diminishing
> the changes that you get all other toolkits to depend on it.
> > Btw: I don't care if libglib gets hard linked into Qt or is loaded on
> > demand (by subclassing QAbstractEventDispatcher - at least in Qt4 this
> > should work). That's an implementation detail, and honestly i don't
> > think that having libglib.so in memory is a big problem - because of all
> > the applications and libraries that are loading it anyway. I have chosen
> > the patching approach, because i didn't want to hack KDE but rather use
> > it as a big "test case".
> Are you interested in trying whether you can do is as an abstract event
Btw., I checked with our event loop guys, and they do indeed have plans to
look at Glib as a possible dependency for the X11 version. If you want to
contribute, and have patch for Qt4 using the abstract event dispatcher,
please send it to us (e.g. qt-bugs at trolltech.com).
More information about the kde-core-devel