Qt 6.11 is out! See what's new in the release
blog
how to clear the contents on QWebEnginePage?
-
QWebengineView is used to display some html contents on the GUI. They need to be cleaned up some time later.
I can not see any clear functions in the doc of QWebEnginePage. Simply set empty contents to QWebEnginePage?@JoeCFD said in how to clear the contents on QWebEnginePage?:
They need to be cleaned up some time later.
Why?
Simply set empty contents to QWebEnginePage?
That's all you can do. Other than deleting the whole
QWebEnginePage. Or maybe something esoteric like directing it toabout:blank!