[PyQt] dbus and PyKDE

David Boddie david at boddie.org.uk
Tue Apr 1 00:47:00 BST 2008


On Thu Mar 27 17:11:52 GMT 2008, 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.

Can you post a link to the relevant thread in the mail archives?

> 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?

Without knowing more about the way events are handled in the QtDBus and
python-dbus implementations, it's difficult to give you advice. There may
be a way to make them play well together, but perhaps this will involve
digging around in the low-level Python dbus API or even in the internal
_dbus_bindings module.

I imagine you've already looked into this. Did you make any progress?

David


More information about the PyQt mailing list