On Wednesday 28 November 2007, Alexandre Badez wrote:
> wChapterSelection = QtGui.QDialog()
> wChapterSelection.exec_()
>
> And I've got also a bus error.
>
> What really suprise me, is that I already use QDialog elsewhere, and I
> didn't had any problem with this.
app = QApplication(sys.argv)
wChapterSelection = QtGui.QDialog()
wChapterSelection.show()
app.exec_()
would work.
I am a newbie to PyQt4, so I don't know whether you can just run a widget
itself without creating an application first - but if you do, it works
Horst
--
The answer to problems created by coercive government is always more
government.
Cat Farmer
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt