From c1992f80622520a18e62bd35666d95031825093b Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 22 Apr 2016 15:56:37 +0200 Subject: [PATCH] WEBVIEW_FORCE_WEBKIT option for webview module. --- src/modules/webview/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/webview/CMakeLists.txt b/src/modules/webview/CMakeLists.txt index c4b0107a3..ce4e75f38 100644 --- a/src/modules/webview/CMakeLists.txt +++ b/src/modules/webview/CMakeLists.txt @@ -5,8 +5,9 @@ list( APPEND CALA_WEBVIEW_LINK_LIBRARIES calamaresui ) +option( WEBVIEW_FORCE_WEBKIT "Always build webview with WebKit instead of WebEngine regardless of Qt version." OFF) -if ( Qt5Core_VERSION VERSION_LESS 5.6 ) +if ( Qt5Core_VERSION VERSION_LESS 5.6 OR WEBVIEW_FORCE_WEBKIT ) find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED WebKit WebKitWidgets ) list( APPEND CALA_WEBVIEW_INCLUDE_DIRECTORIES