[PyQt] webkit examples - QtWebKit deprecated

Florian Bruhin me at the-compiler.org
Wed Oct 25 09:25:00 BST 2017


Hi,

On Wed, Oct 25, 2017 at 09:42:31AM +0200, umbertofilippo at tiscali.it wrote:
> just tried to use one of the examples ("\webkit\previewer\ui_previewer.py").
> I receive an import error "WtWebKitWidgets".

The example uses QtWebKitWidgets correctly, so I assume this was a typo.
It works correctly if you have a Qt with QtWebKit installed.

> Apparently, it has been superceeded by PyQt5.QtWebEngineWidgets (reference
> <https://stackoverflow.com/a/37877273/1979665> ).

There's https://github.com/annulen/webkit/wiki too which is a half-official
continuation and drop-in replacement.

Florian

-- 
https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://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/20171025/2a1c98ff/attachment.sig>


More information about the PyQt mailing list