digiKam : dependency QtWebEngine 5.15.10 version ID not accepted with Qt 5.15.5 LTS
Hi,
QtWebEngine5 use an upper revision number than Qt5 LTS:
QtWebEngine: 5.15.10 Qt: 5.15.5
Cmake return an error as version are not compatible. see below the trace from binary factory and Windows MSVC64 target #1060:
11:37:01 -- Check dependencies for digikam version 8.0.0-git
11:37:01 --
11:37:01 -- Suitable Qt5 >= 5.14.0 detected...
11:37:01 CMake Error at C:/Craft/BinaryFactory/windows-msvc2019_64-cl/lib/cmake/Qt5WebEngineCore/Qt5WebEngineCoreConfig.cmake:105 (find_package):
11:37:01 Could not find a configuration file for package "Qt5Quick" that is
11:37:01 compatible with requested version "5.15.10".
11:37:01
11:37:01 The following configuration files were considered but not accepted:
11:37:01
11:37:01 C:/Craft/BinaryFactory/windows-msvc2019_64-cl/lib/cmake/Qt5Quick/Qt5QuickConfig.cmake, version: 5.15.5
11:37:01
11:37:01 Call Stack (most recent call first):
11:37:01 C:/Craft/BinaryFactory/windows-msvc2019_64-cl/lib/cmake/Qt5WebEngineWidgets/Qt5WebEngineWidgetsConfig.cmake:105 (find_package)
11:37:01 C:/Craft/BinaryFactory/windows-msvc2019_64-cl/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
11:37:01 core/cmake/rules/RulesQtFramework.cmake:22 (find_package)
11:37:01 core/CMakeLists.txt:43 (include)
11:37:01
11:37:01
11:37:01 -- Configuring incomplete, errors occurred!
In fact i tested on the handmaid continuous deployement for digiKam, and QtWebEngine 5.15.10 can be compiled against Qt 5.15.2/3/4/5 etc. It's just a revision check done by cmake which can be by-passed to continue.
How to fix this problem with Craft ?
Best
Gilles Caulier
Edited by Gilles Caulier