This is temporary until I have time to write a proper patch to make the WebEngine dependency truly optional. Upstream-URL: https://bugs.kde.org/show_bug.cgi?id=455108 BUG: 455108 --- cantor-22.04.2/CMakeLists.txt.old 2022-06-06 22:43:15.000000000 -0500 +++ cantor-22.04.2/CMakeLists.txt 2022-06-10 00:48:15.475027350 -0500 @@ -37,9 +37,7 @@ Xml XmlPatterns Test - Help - WebEngine - WebEngineWidgets) + Help) find_package(KF5 ${KF5_MIN_VERSION} REQUIRED Config --- cantor-22.04.2/src/CMakeLists.txt.old 2022-06-06 22:43:15.000000000 -0500 +++ cantor-22.04.2/src/CMakeLists.txt 2022-06-10 00:47:38.599064429 -0500 @@ -39,7 +39,7 @@ add_executable(cantor ${cantor_SRCS}) target_link_libraries(cantor KF5::Parts KF5::NewStuff KF5::ConfigCore KF5::CoreAddons KF5::ConfigGui - KF5::Crash KF5::XmlGui Qt5::WebEngine cantorlibs cantor_config) + KF5::Crash KF5::XmlGui cantorlibs cantor_config) ########### install files ############### install(TARGETS cantor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) --- cantor-22.04.2/src/panelplugins/CMakeLists.txt.old 2022-06-06 22:43:15.000000000 -0500 +++ cantor-22.04.2/src/panelplugins/CMakeLists.txt 2022-06-10 00:46:15.718138007 -0500 @@ -13,4 +13,3 @@ add_subdirectory(variablemgr) add_subdirectory(filebrowserpanel) add_subdirectory(tocpanel) -add_subdirectory(documentationpanel) --- cantor-22.04.2/src/main.cpp.old 2022-06-06 22:43:15.000000000 -0500 +++ cantor-22.04.2/src/main.cpp 2022-06-10 00:46:37.755725391 -0500 @@ -17,16 +17,10 @@ #include #include #include -#include int main(int argc, char **argv) { - QtWebEngine::initialize(); - // Register custom scheme handler for qthelp:// scheme - QWebEngineUrlScheme qthelp("qthelp"); - QWebEngineUrlScheme::registerScheme(qthelp); - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv);