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

Florian Bruhin me at the-compiler.org
Mon Mar 20 15:44:05 GMT 2017


* 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170320/ea1a538a/attachment.sig>


More information about the PyQt mailing list