Commit 43b18291 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make sure that it compile when we use QTWEBENGINE_EXPERIMENTAL_OPTION

parent eae6c91e
......@@ -66,16 +66,18 @@ set(_mailwebview_cpp
adblock/adblockblockableitemswidget.cpp
)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
# For the moment we can'r replace mailwebengine
set(libmessageviewer_mailviewer_SRCS
viewer/webengine/mailwebengine.cpp
viewer/webview/mailwebview.cpp
)
set(libmessageviewer_web_LIB Qt5::WebEngine Qt5::WebEngineWidgets)
else()
set(libmessageviewer_web_LIB KF5::WebKit Qt5::WebKitWidgets)
if (QTWEBENGINE_EXPERIMENTAL_OPTION)
set(libmessageviewer_mailviewer_SRCS
viewer/webview/mailwebview.cpp
viewer/webengine/mailwebengine.cpp
${libmessageviewer_mailviewer_SRCS}
)
set(libmessageviewer_web_LIB KF5::WebKit Qt5::WebKitWidgets)
set(libmessageviewer_web_LIB Qt5::WebEngine Qt5::WebEngineWidgets ${libmessageviewer_web_LIB})
endif()
set(libmessageviewer_viewer_SRCS
......
Markdown is supported
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