[PyQt] PyQt4 issue
phil at riverbankcomputing.com
Mon Mar 4 09:29:29 GMT 2013
On Sun, 03 Mar 2013 19:15:40 +0100, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> I am observing a strange issue with latest PyQt4 and Qt 5.0.1. The later
> was compiled by
> myself. Setting the URL of a QWebView with QWebView.setUrl() results in
> seg fault or
> other errors. Executing these steps in a Python3 shell result in a
>>>> from PyQt4.QtCore import QUrl
>>>> from PyQt4.QtGui import QApplication
>>>> from PyQt4.QtWebKit import QWebView
>>>> import sys
> Qt at-spi: error getting the accessibility dbus address: "The name
> org.a11y.Bus was not
> provided by any .service files"
> Accessibility DBus not found. Falling back to session bus.
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> TypeError: QWebView.setUrl(QUrl): argument 1 has unexpected type 'QUrl'
> However, according to the Qt5 docs, this method has QUrl as the first
> parameter. It worked
> before upgrading PyQt4 and it works with Qt4.
Works fine for me.
More information about the PyQt