[PyQt] QWebPage error

Karthik Tharavaad karthiktharavaad at gmail.com
Tue Jan 5 23:57:10 GMT 2010


attempting to run this simple program, after I close the button window, it
crashes my python.exe

It seems like whenver I have an undeleted instance of QWebPage in my
program, it crashes upon exit.

from PyQt4.QtWebKit import QWebPage
from PyQt4.QtGui import *
import sys

if __name__ == "__main__":
    app = QApplication(sys.argv)
    btn = QPushButton("exit")
    btn.show()
    page = QWebPage()
    app.exec_()

using latest version of Qt and lattest nightly builds of PyQt and SIP on
windows 7 w. python 2.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100105/d5a7db42/attachment.html>


More information about the PyQt mailing list