QtWebKitWidgets is not defined


I got an error message when I tried to import QtWebKitWidgets. Looked on web and seems to be a common issue. Is QtWebEngine a replacement? Or what else can I do? Thanks.


Yep that is right — QtWebEngineWidgets is more or less a drop-in replacement for QtWebKitWidgets unfortunately there are some breaking changes that affect the saving pages as HTML and printing.

See this other thread for more details.

I’ve added a short write up of the major changes here.


Thanks…the save/print async bit was the most trouble but I got it working with your write-up!