Qt->glib main event loop patch (common main loop)

nf2 nf2 at scheinwelt.at
Mon Nov 14 15:40:41 GMT 2005


Matthias Ettrich wrote:

>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.
>>    
>>
Every improvement has its negative side-effects, but this one seems to 
be quite harmless. Its just a portable "general-purpose utility 
library". If Glib becomes too big i think there will be ways to fix that 
later on (split it into pieces).

>>
>>Are you interested in trying whether you can do is as an abstract event
>>dispatcher?
>>
>>    
>>
>
>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).
>
>  
>
Very cool! I will try.

thanks,

Norbert





More information about the kde-core-devel mailing list