I have a 2.6 python installed with latest PySide Qt bindings. The following code hands if thread.start() line is uncommented. Anyone can suggest what i’m doing wrong?
from PySide.QtCore import *
from PySide.QtGui import *
import sys
app = QApplication( sys.argv )
window = QWidget()
window.show()
thread = QThread()
# thread.start()
app.exec_()
It’a a known PySide bug. The workaround is to subclass
QThreadand definerun()method that callsexec_()