[PyQt] Segmentation faults

Luke Campagnola lcampagn at email.unc.edu
Fri Aug 6 16:10:26 BST 2010


On Fri, Aug 6, 2010 at 10:53, Mailing List SVR <lists at svrinformatica.it>wrote:

> Il giorno gio, 05/08/2010 alle 03.10 -0400, Luke Campagnola ha scritto:
> > $ python
> > >>> from PyQt4.QtGui import *
> > >>> a = QApplication([])
> > >>> s = QSpinBox()
> > >>> l = s.lineEdit()
> > >>> del s
> > >>> l.text()
> > Segmentation fault
>
> PySide is more forgiving and raise the following error:
>
> RuntimeError: Internal C++ object already deleted.
>


Thanks, I'll have to look into this. I had not heard of PySide before.

 Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100806/4460cc61/attachment-0001.html>


More information about the PyQt mailing list