[PyQt] dbus and PyKDE

Jim Bublitz jbublitz at nwinternet.com
Mon Mar 31 05:12:07 BST 2008

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 


More information about the PyQt mailing list