use Qt WebKit module
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
add_subdirectory(App)
|
||||
if(BUILD_GUI)
|
||||
if(Qt5WebEngine_FOUND OR QT_QTWEBKIT_FOUND)
|
||||
if(Qt5WebKitWidgets_FOUND OR QT_QTWEBKIT_FOUND)
|
||||
add_subdirectory(Gui)
|
||||
endif()
|
||||
endif(BUILD_GUI)
|
||||
|
||||
@@ -13,10 +13,10 @@ set(WebGui_LIBS
|
||||
|
||||
if(BUILD_QT5)
|
||||
include_directories(
|
||||
${Qt5WebEngine_INCLUDE_DIRS}
|
||||
${Qt5WebKitWidgets_INCLUDE_DIRS}
|
||||
)
|
||||
list(APPEND WebGui_LIBS
|
||||
${Qt5WebEngine_LIBRARIES}
|
||||
${Qt5WebKitWidgets_LIBRARIES}
|
||||
)
|
||||
qt5_add_resources(Web_QRC_SRCS Resources/Web.qrc)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user