Commit f9bc950d authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Fix CMakeLists.txt to compile WebEnginePartHtmlEmbedder on Qt before Qt-5.12

When compiling Konqueror on versions of Qt before 5.12, the
WebEnginePartHtmlEmbedder class is needed to embed local contents in pages
generated by...

...WebEnginePartKIOHandler (for example, for the man protocol). The
corresponding source file is added to the the list of source files only if the
Qt version is less than 5.12. However, an extra command in CMakeFiles.txt caused
the file not to be added and the compilation to fail.

Test Plan:
compile Konqueror with Qt older than 5.12.0: the compilation now
completes successfully.

Reviewers: dfaure

Reviewed By: dfaure

Differential Revision:
parent 4efbca00
......@@ -31,7 +31,7 @@ if(Qt5WebEngineWidgets_VERSION VERSION_GREATER_EQUAL "5.12.0")
list(APPEND kwebenginepartlib_LIB_SRCS, webengineparthtmlembedder.cpp)
list(APPEND kwebenginepartlib_LIB_SRCS webengineparthtmlembedder.cpp)
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