Commit 757437d2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Finally we need this variable

parent d8c8042b
#ifndef CONFIGWEBENGINEVIEWER_H
#define CONFIGWEBENGINEVIEWER_H
#cmakedefine WEBENGINEVIEWER_PRINTPREVIEW_SUPPORT 1
#endif
......@@ -8,6 +8,11 @@ if(BUILD_TESTING)
add_subdirectory(findbar/autotests)
endif()
if (Qt5WebEngineWidgets_VERSION VERSION_GREATER "5.7.99")
set(WEBENGINEVIEWER_PRINTPREVIEW_SUPPORT true)
endif()
configure_file(../config-webengineviewer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/../config-webengineviewer.h )
set(libwebengineviewer_webengine_SRCS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment