[android-qt515] cmake failing to include Qt5Svg
In invent-registry.kde.org/sysadmin/ci-images/android-qt515:latest
(ca35b2731e7a), dependency to Qt5Svg
via cmake
is failing because that package looks for version 5.15.13 of Qt5Widgets
, which is not available:
CMake Error at /home/user/android-arm-clang/lib/cmake/Qt5Svg/Qt5SvgConfig.cmake:99 (find_package):
Could not find a configuration file for package "Qt5Widgets" that is
compatible with requested version "5.15.13".
The following configuration files were considered but not accepted:
/home/user/android-arm-clang/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake, version: 5.15.12
Call Stack (most recent call first):
/home/user/android-arm-clang/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
CMakeLists.txt:93 (find_package)
As mentioned in the message, Qt5Widgets
is available in version 5.15.12 in the image.
Patching the cmake module to search for 5.15.12 (~/android-arm-clang/lib/cmake/Qt5Svg/Qt5SvgConfig.cmake:100) is a temporary solution to continue building.