From kde-core-devel Sun Nov 06 22:22:55 2005 From: nf2 Date: Sun, 06 Nov 2005 22:22:55 +0000 To: kde-core-devel Subject: Qt->glib main event loop patch (common main loop) Message-Id: <436E823F.4080103 () scheinwelt ! at> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113143586714273 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