[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] dbus and PyKDE
From:       Jim Bublitz <jbublitz () nwinternet ! com>
Date:       2008-03-31 4:12:07
Message-ID: 200803302112.08882.jbublitz () nwinternet ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic