PyQt4 QWebView cant load google maps markers

Anssi Saari as at sci.fi
Fri Mar 23 10:48:18 EDT 2018


Xristos Xristoou <saxri89 at gmail.com> writes:

> I want to create a simple python app using pyqt,QWebView and google maps with markers.
>
> The problem is that,the markers does not load inside the QWebView, as
> you can see they load just fine in the browser.

Well, since you got a javascript error, maybe Qt4 doesn't support the
version of javascript Google uses today? Qt4 was released over a decade
ago.

I tried with PyQt5 and the page loads and a marker shows up. It then
disappears as Google puts up a couple of popups. There's a complaint
about browser capabilities and also a privacy note from Google.




More information about the Python-list mailing list