I'm learning PyQT programing, so when I attempt an easy test, I recieve Segmentation fault, here's my code pop.py:

#! /usr/bin/python

import sys
from PyQt4.QtGui import QApplication
from PyQt4.QtCore import QUrl
from PyQt4.QtWebKit import QWebView

app = QApplication(sys.argv)
v = QWebView()

I began an Apache server at 127...1 for testing. Here is j.html:

<html><script>alert("I am here");</script>
<body>Hello World</body>

I start the pop.py, open a window, javascript popup alert dialog, I click on the OK, then pop.py will quite and obtain "Segmentation fault"

I attempted PySide, get same result. Otherwise JS alert in html, is going to be OK. Is a bug of QT or I skipped something?

I done Debian with python 2.6.6, python-qt4 4.8.3, libqtwebkit4 2.1.

I additionally attempted Fedora 15 with PyQt4-4.8.3, python 2.7.1, same problem

Any suggestion, clue for searching is going to be useful. Thanks

This works together with the exam situation given above for

Qt:     4.7.2
PyQt:   4.8.3 or PySide 1.0.1
Python: 2.7.1

As noted above within the comments, http://developer.qt.nokia.com/forums/viewthread/4760 describes the bug which is reported as fixed from https://bugs.webkit.org/show_bug.cgi?id=57414 and was most likely incorporated in Qt 4.7.2.