On Thu, 29 Oct 2009 11:47:44 -0600, Kovid Goyal <[email protected]>
wrote:
> I should add that the segfault is present in the current snapshot as
well:
> 
> python2.6 -c "from PyQt4.Qt import QApplication, PYQT_VERSION_STR;
> QApplication([]); print PYQT_VERSION_STR; from PyQt4.QtWebKit import
> QWebPage; QWebPage()"
> 
> 4.7-snapshot-20091028
> Segmentation fault

The QApplication instance is being garbage collected before the QWebPage is
created.

It worked in earlier versions because of a PyQt bug which meant that the
QApplication dtor was never called - but it is now.

Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to