On Thursday 27 March 2008 10:11, Jonathan Riddell wrote: > I'm trying to get a printer applet into KDE (see kde-core-devel), > however I can't actually use pyKDE because oxygen style and > KApplication load QtDbus which causes the application to freeze when > I'm using python-dbus. > > For example this app freezes when using KApplication but not when > using QApplication. > > http://kubuntu.org/~jriddell/tmp/minimal.py > > Does anyone have any ideas on how to work around this?
I get the same result for KApplication as QApplication (exception, no hang) if I make set_as_default=False in the statement that sets up mainloop. Seems to make no difference which way it's set with QApplication. Hope that helps - I still have a pretty limited understanding of the whole thing. Jim _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt