HTML rendering engine
If you are using CMake, you need to have
(or similar) in your CMakeLists.txt file, and you need to link to KF5::KHtml.
To use KHTML in your application, create an instance of KHTMLPart, embed it in your application like any other KPart, and call methods to control what it displays:
QUrl url("https://www.kde.org"); KHTMLPart *w = new KHTMLPart(); w->openUrl(url); w->view()->resize(500, 400); w->show();
Another option is to use KDEWebKit, WebKit is a fork of KHTML with substantial industry support.