[PyKDE] Threading problem with PyQt4 and Macosx

Michael Guntsche mike at it-loops.com
Wed Feb 21 22:23:28 GMT 2007

On Feb 21, 2007, at 23:10, Andreas Pakulat wrote:

> You forgot the .ui file for the dialog, but there's one thing I don't
> understand: Why do you use a QMutex? You don't access any non-local  
> data
> between the lock and unlock so the mutex is useless.

Apparently the Mutex seems to make a difference. If I do not use it,  
the application hangs earlier (with less threads).

> Another thing you could do is add the QtCore.Qt.QueuedConnection
> argument to the connect call. Although that should be used  
> automatically
> anyways.

I think it is used automatically, I added it once for testing and it  
did not make a difference at all.

Here the missing .ui file.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: form4.ui
Type: application/octet-stream
Size: 2004 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070221/4f7975f2/form4.obj
-------------- next part --------------


More information about the PyQt mailing list