Summary: | Cross building KMyMoney5 with MinGW fails with alkimia 8.1.2 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] alkimia | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | General | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 8.1.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | https://invent.kde.org/office/alkimia/-/commit/1a46fe803fab966bb3ed2ef280ecca0f1f8b5ef0 | Version Fixed In: | 8.1.3 |
Sentry Crash Report: | |||
Attachments: | log file |
Description
Ralf Habacker
2024-04-01 11:15:48 UTC
After an investigation, it turned out that the problem lies in the alkimia package, which generates a faulty LibAlkimia5Config.cmake Git commit 1a46fe803fab966bb3ed2ef280ecca0f1f8b5ef0 by Ralf Habacker. Committed on 01/04/2024 at 11:18. Pushed by habacker into branch '8.1'. cmake: Fix usage of Qt main version with Qt < 5.15 The error message on https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-kmymoney5 was 'Could not find a package configuration file provided by "QtCore"'. According to https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html#supporting-older-qt-5-versions there is a variable QT_VERSION_MAJOR, not QT_MAJOR_VERSION, which is set with a call to find_package(QT ...). FIXED-IN:8.1.3 M +4 -0 CMakeLists.txt M +1 -1 src/LibAlkimiaConfig.cmake.in https://invent.kde.org/office/alkimia/-/commit/1a46fe803fab966bb3ed2ef280ecca0f1f8b5ef0 |