aRestless
23rd April 2010, 14:45
Hi there,
I've got problems getting several websites working in Qt's built in browser. I'm using PyQt4, but that shouldn't make a difference, should it?
def __init__(self, parent = None):
super(MapViewer, self).__init__(parent)
self.load(QUrl("http://qt.nokia.com))
That's everything I do with my subclass of QWebView (instead of initializing it from another class of course). Works fine for HTML, but JavaScript, like in the samplepage, doesn't work correctly:
http://wgkarlsruhe.de/Screenshot1.JPG
That's how it looks like, and that's how it should look like:
http://wgkarlsruhe.de/Screenshot2.JPG
Is that a known issue? I heard that executing JavaScript via QWebView works fine, why shouldn't it work when implemented in the displayed website itself?
Hope you guys can help me,
aRestless
I've got problems getting several websites working in Qt's built in browser. I'm using PyQt4, but that shouldn't make a difference, should it?
def __init__(self, parent = None):
super(MapViewer, self).__init__(parent)
self.load(QUrl("http://qt.nokia.com))
That's everything I do with my subclass of QWebView (instead of initializing it from another class of course). Works fine for HTML, but JavaScript, like in the samplepage, doesn't work correctly:
http://wgkarlsruhe.de/Screenshot1.JPG
That's how it looks like, and that's how it should look like:
http://wgkarlsruhe.de/Screenshot2.JPG
Is that a known issue? I heard that executing JavaScript via QWebView works fine, why shouldn't it work when implemented in the displayed website itself?
Hope you guys can help me,
aRestless