[PyQt] Re: Qt-4.3.0 hangs

Jeremy Sanders jeremy at jeremysanders.net
Sun Jul 29 13:34:51 BST 2007


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
2.5.1.

Jeremy




More information about the PyQt mailing list