Qt->glib main event loop patch (common main loop)
Matthias Ettrich
ettrich at trolltech.com
Mon Nov 14 13:42:36 GMT 2005
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
dispatcher?
Matthias
More information about the kde-core-devel
mailing list