[PyKDE] Crash with unnotified event
Phil Thompson
phil at riverbankcomputing.co.uk
Wed Jan 17 13:07:12 GMT 2007
On Wednesday 17 January 2007 12:44 pm, Giovanni Bajo wrote:
> Hello Phil,
>
> this script causes a segfault for me with latest SIP snapshot and PyQt
> 3.17:
>
> ================================================
> from qt import *
> app = QApplication([])
> k = QWidget(None)
> qApp.postEvent(k, QCustomEvent(QEvent.User))
> del app
> ================================================
Is this a recent problem with current snapshots?
Is there a real use case (you'd never actually code the above)? Otherwise just
remove the "del".
Phil
More information about the PyQt
mailing list