[PyQt] PyQt 5.8.1: No module named 'PyQt5.QtWebKitWidgets'

Zdenko Podobný zdenop at gmail.com
Thu Mar 23 14:47:50 GMT 2017


Thanks. Neither Qt Designer nor Qt Creator Designer from Windows Qt 5.8 has
widget for QtWebEngine. Strange.

But replacing QWebView with QtWebEngine in ui file fixed the problem...

Zdenko

On Mon, Mar 20, 2017 at 4:44 PM, Florian Bruhin <me at the-compiler.org> wrote:

> * Zdenko Podobný <zdenop at gmail.com> [2017-03-20 16:26:17 +0100]:
> > According doc[1] there should be class PyQt5.QtWebKitWidgets.QWebView
>
> You'll also need a Qt which comes with QtWebKit (for example a
> self-built one) - it was removed from Qt's binaries (which includes
> PyQt installed via pip) with Qt 5.6.
>
> You might also want to migrate to QtWebEngine instead, which is the
> official replacement.
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>          I love long mails! | http://email.is-not-s.ms/
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170323/3625d83f/attachment.html>


More information about the PyQt mailing list