From freedesktop-xdg Sun Nov 06 21:31:27 2005 From: nf2 Date: Sun, 06 Nov 2005 21:31:27 +0000 To: freedesktop-xdg Subject: Qt->glib main event loop patch (common main loop) Message-Id: <436E762F.3020308 () scheinwelt ! at> X-MARC-Message: https://marc.info/?l=freedesktop-xdg&m=117278181411117 Hi! I have rewritten my Qt->glib main event loop patch completely. It adds an optional "-glibmainloop" switch to the ./configure script of Qt, which integrates a modified QEventloop as a GSource into glib main loop. http://www.scheinwelt.at/~norbertf/common_main_loop/ I have tested lots of KDE applications with the patched Qt, including the whole KDE desktop. Seems to work quite well. Additionally there is the "QtGtk Crossover Demo", which runs both toolkits (Qt and GTK+) in the same process and the same main loop (without blocking each other). The main benefit of joining the mainloops would be * common asynchronous infrastructure libraries * in-process plugins or components (like having desktop adaptive file-dialogs). * linking with libraries which were developed for other toolkits Btw - I'm not sure if other frameworks have already been ported to glib-main-loop, like OpenOffice.org (UNO?) and Mozilla... regards, Norbert