[Qgis-developer] QtNetwork issue with master?

Alexander Bruy alexander.bruy at gmail.com
Mon Apr 16 12:18:20 EDT 2012


Hi Larry,

works here under 32 bit Slackware Linux with master 51ff2b5413
and Qt 4.7.0

2012/4/16 Larry Shaffer <larrys at dakotacarto.com>:
> 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

-- 
Alexander Bruy


More information about the Qgis-developer mailing list