summaryrefslogtreecommitdiff
path: root/libre/bibletime/libre.patch
blob: 38a041152b8dd81ed3111947aa418d7bd954d3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 50c7391db..30a58e34f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,19 +150,8 @@ IF("${BIBLETIME_FRONTEND}" STREQUAL "MOBILE")
     ADD_DEFINITIONS("-DBT_MOBILE")
 ENDIF()
 
-FIND_PACKAGE(Qt5WebEngine QUIET)
-IF(NOT Qt5WebEngine_FOUND)
     MESSAGE(STATUS "Using Qt WebKit")
     SET(USEWEBENGINE OFF)
-ELSE()
-    MESSAGE(STATUS "Using Qt WebEngine")
-    SET(USEWEBENGINE ON)
-ENDIF()
-
-IF(USEWEBENGINE)
-    ADD_DEFINITIONS("-DUSEWEBENGINE")
-ENDIF()
-
 # Define $bibletime_SOURCES
 INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/BTSourceFileList.cmake")
 
@@ -223,8 +212,6 @@ TARGET_LINK_LIBRARIES("bibletime"
 
 IF(${BIBLETIME_FRONTEND} STREQUAL "MOBILE")
   qt5_use_modules("bibletime" Widgets WebKitWidgets Qml Quick Xml Network PrintSupport Svg)
-ELSEIF(USEWEBENGINE)
-  qt5_use_modules("bibletime" Widgets WebEngine WebEngineWidgets WebChannel Xml Network PrintSupport Svg)
 ELSE()
   qt5_use_modules("bibletime" Widgets WebKit WebKitWidgets Xml Network PrintSupport Svg)
 ENDIF()
 
@@ -279,13 +267,8 @@ INSTALL(FILES ${INSTALL_TMPL_LIST}
          DESTINATION "${BT_SHARE_PATH}/bibletime/display-templates/")
 
 
-IF(USEWEBENGINE)
-    INSTALL(FILES "src/frontend/display/btwebengine.js"
-     DESTINATION "${BT_SHARE_PATH}/bibletime/javascript/")
-ELSE()
-    INSTALL(FILES "src/frontend/display/bthtml.js"
-        DESTINATION "${BT_SHARE_PATH}/bibletime/javascript/")
-ENDIF()
+INSTALL(FILES "src/frontend/display/bthtml.js"
+    DESTINATION "${BT_SHARE_PATH}/bibletime/javascript/")
 
 INSTALL(FILES "docs/license.html"
         DESTINATION "${BT_SHARE_PATH}/bibletime/license/")