[PyQt] Re: Qt-4.3.0 hangs

Ismail Dönmez ismail at pardus.org.tr
Sun Jul 29 15:03:56 BST 2007


On Sunday 29 July 2007 15:34:51 Jeremy Sanders wrote:
> Okay, here is a test python program which appears to demonstrate a hang on
> Ubuntu Feisty with Qt 4.3.0:
>
> import sys
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
>
> def fileOpenDialog():
>     fd = QFileDialog(window, 'foo')
>     fd.exec_()
>     # hangs before return from dialog
>
> app = QApplication(sys.argv)
>
> window = QWidget()
>
> quit = QPushButton("File dialog", window)
> QObject.connect(quit, SIGNAL("clicked()"),
>                 fileOpenDialog)
> window.show()
> app.exec_()
>
> If you click on the button a file dialog opens. When the file dialog is
> closed, the program hangs on the futex sys call.
>
> Can anyone reproduce this problem?
>
> This is with the python-qt4 4.1.0ubuntu6 package, qt4-4.3.0-ubuntu1, python

Can't reproduce here on Pardus Linux 2007.2 :

Qt 4.3.0
PyQt4 20070625
Python 2.4.4

Regards,
ismail

-- 
Perfect is the enemy of good


More information about the PyQt mailing list