diff --git a/konqueror-19.12.1-webengine_optional.patch b/konqueror-19.12.1-webengine_optional.patch index 68e338a..08ac481 100644 --- a/konqueror-19.12.1-webengine_optional.patch +++ b/konqueror-19.12.1-webengine_optional.patch @@ -11,3 +11,13 @@ diff -up konqueror-19.12.1/CMakeLists.txt.webengine_optional konqueror-19.12.1/C find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Parts KCMUtils KHtml Archive Crash WindowSystem Init IconThemes DBusAddons) find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS KDELibs4Support) +@@ -55,7 +56,9 @@ add_subdirectory( client ) + if(BUILD_TESTING) + add_subdirectory( autotests ) + endif() ++if (Qt5WebEngineWidgets_FOUND) + add_subdirectory( webenginepart ) ++endif() + + add_subdirectory( about ) + add_subdirectory( pics )