• Stefano Crocco's avatar
    Fix CMakeLists.txt to compile WebEnginePartHtmlEmbedder on Qt before Qt-5.12 · 9119e90c
    Stefano Crocco authored and Pino Toscano's avatar Pino Toscano committed
    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: https://phabricator.kde.org/D22736
    (cherry picked from commit f9bc950d)
CMakeLists.txt 2.42 KB