QtWebEngine doesn't support rendering into a pixmap.
Using WebKit or any other old and unmaintained library is dangerous as a bug could be exploited by a malicious HTML file present on the system.
Details
Details
- Reviewers
dfaure fvogt anthonyfieroni - Commits
- R320:be71c2c3d5a1: Remove HTML thumbnailer
I don't see how this could have ever worked. I tried to fix it but it would just crash when doing view->render()
Diff Detail
Diff Detail
- Repository
- R320 KIO Extras
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I get the same result: This is not possible to achieve using Qt WebEngine. See upstream bug https://bugreports.qt.io/browse/QTBUG-46129
It's possible to get a QImage of a webpage only by using the view's grabWindow() method, but only if the view is visible. Technically it might be possible with the offscreen QPA, but that doesn't support EGL which WebEngine needs.