diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed70a36a9..030d1a7f1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,7 +47,7 @@ include(ECMQtDeclareLoggingCategory)
 
 option(KDEPIMADDONS_BUILD_EXAMPLES "Build the kdepim-addons example applications." FALSE)
 
-find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED WebEngine WebEngineWidgets Widgets Test)
+find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test)
 
 find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED)
 find_package(KF5Config ${KF5_VERSION} CONFIG REQUIRED)
@@ -74,7 +74,6 @@ set(CALENDAR_UTILS_VERSION "5.4.3")
 set(KPIMTEXTEDIT_LIB_VERSION "5.4.3")
 
 find_package(KF5CalendarUtils ${CALENDAR_UTILS_VERSION} CONFIG REQUIRED)
-find_package(KF5WebEngineViewer ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
 find_package(KF5MailCommon ${MAILCOMMON_LIB_VERSION} CONFIG REQUIRED)
 find_package(KF5KaddressbookGrantlee ${KDEPIM_APPS_LIB_VERSION} CONFIG REQUIRED)
 find_package(KF5MessageViewer ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index cc1d1261e..fd906fd02 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -4,5 +4,3 @@ add_subdirectory(messageviewerheaderplugins)
 add_subdirectory(storageservices)
 add_subdirectory(messageviewer)
 add_subdirectory(plasma)
-
-add_subdirectory(webengineurlinterceptor)
