0e11599
diff -up konqueror-18.12.2/CMakeLists.txt.opt konqueror-18.12.2/CMakeLists.txt
0e11599
--- konqueror-18.12.2/CMakeLists.txt.opt	2019-02-04 18:14:27.000000000 -0600
0e11599
+++ konqueror-18.12.2/CMakeLists.txt	2019-02-20 12:07:12.717586668 -0600
0e11599
@@ -23,7 +23,8 @@ include(ECMQtDeclareLoggingCategory)
0e11599
 set(KONQUEROR_LIB_VERSION "5.0.97")
0e11599
 set(KONQUEROR_VERSION "${KONQUEROR_LIB_VERSION}")
0e11599
 
0e11599
-find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core Widgets WebEngineWidgets)
0e11599
+find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Core Widgets)
0e11599
+find_package(Qt5WebEngineWidgets)
0e11599
 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Parts KCMUtils KHtml KDELibs4Support Archive Crash)
0e11599
 
0e11599
 find_package(KF5 ${KF5_MIN_VERSION} COMPONENTS Activities DocTools) # Optional
0e11599
@@ -55,7 +56,9 @@ add_subdirectory( client )
ed4ea7d
 if(BUILD_TESTING)
ed4ea7d
     add_subdirectory( autotests )
ed4ea7d
 endif()
ed4ea7d
+if (Qt5WebEngineWidgets_FOUND)
ed4ea7d
 add_subdirectory( webenginepart )
ed4ea7d
+endif()
ed4ea7d
 
ed4ea7d
 add_subdirectory( about )
ed4ea7d
 add_subdirectory( pics )