Hi,

On builds of master branch (Mac OS X 10.7.3, Qt 4.8.1, Py 2.7.1) the
following simple QWebView window crashes QGIS:

  from PyQt4.QtGui import QMainWindow

  from PyQt4.QtCore import QUrl

  from PyQt4.QtWebKit import QWebView

  win = QMainWindow(qgis.utils.iface.mainWindow())

  helpviewer = QWebView()

  helpviewer.setUrl(QUrl("http://www.xkcd.com";))

  win.setCentralWidget(helpviewer)

  win.show()

Local URLs work fine; it's just when accessing external ones (any web site).

Can someone confirm this on Mac or any other platform?

Thanks,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to