[PyQt] QtDBus not wrapped, trouble using dbus-python
(communication hangs)
Adeodato Simó
dato at net.com.org.es
Fri Mar 14 09:55:15 GMT 2008
* Jim Bublitz [Thu, 13 Mar 2008 15:41:30 -0800]:
> On Thursday 13 March 2008 15:50, Adeodato Simó wrote:
> > * Phil Thompson [Thu, 13 Mar 2008 22:03:08 +0000]:
> > > You need to create the QApplication before the main loop.
> > Oh, changing that makes the example work, thank you.
> > However, if I change QApplication to KApplication, I get this error:
> > QMutex::lock: Deadlock detected in thread -1210529600
> > And the application hangs. Any ideas?
> Setting some of the fields in KAboutData also sets some info that DBus uses
> (name, domain info?) - setting it incorrectly (like putting the .py extension
> on the name) also causes problems. I'd also try changing QMainWindow to
> KMainWindow or KXmlGuiWindow.
Right, using KMainwindow or KXmlGuiWindow in the provided example does
not work.
> Other than that (actually including that), I have no clue. Haven't seen any
> KDE docs on it either, although you could try kde.org.
Grumble grumble. I'll poke at it a bit more, but I'm mostly blind on
this. :-(
Thanks,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
I promise you. Once I enter into an exclusive relationship, I sleep with
very few people.
-- Denny Crane
More information about the PyQt
mailing list