Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#72446 - qtkeychain-qt6wrongly depends on Qt4 instead of Qt6 used via CMake
Attached to Project:
Arch Linux
Opened by Jan Holthuis (Holzhaus) - Saturday, 16 October 2021, 20:51 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 16 October 2021, 22:52 GMT
Opened by Jan Holthuis (Holzhaus) - Saturday, 16 October 2021, 20:51 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 16 October 2021, 22:52 GMT
|
DetailsDescription:
If you try to use qtkeychain-qt6 via CMake, e.g. find_package(Qt6Keychain REQUIRED) then the package will try to detect Qt4 instead of Qt6, which basically makes it unusable: CMake Error at /usr/share/cmake-3.21/Modules/FindQt4.cmake:1314 (message): Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x Call Stack (most recent call first): /usr/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib64/cmake/Qt6Keychain/Qt6KeychainConfig.cmake:43 (find_dependency) CMakeLists.txt:2699 (find_package) This issue was already fixed upstream in this commit: https://github.com/frankosterfeld/qtkeychain/commit/ae1f9a479001d519d209d19da1b9319bf4d05a28 Unfortunately there hasn't been a release since this commit was merged. However, it would be preferable if the package could be patched to fix this problem, because it completely breaks all the build of all CMake applications that use Qt6Keychain and Qt6. Additional info: * package version(s): 0.12.0-1 * link to upstream bug report: https://github.com/frankosterfeld/qtkeychain/commit/ae1f9a479001d519d209d19da1b9319bf4d05a28 Steps to reproduce: Try to configure any CMake project that uses `find_package(Qt6Keychain REQUIRED)` on a machine that does not have Qt4 installed. |
This task depends upon
Closed by Antonio Rojas (arojas)
Saturday, 16 October 2021, 22:52 GMT
Reason for closing: Fixed
Additional comments about closing: qtkeychain-qt6 0.12.0-2
Saturday, 16 October 2021, 22:52 GMT
Reason for closing: Fixed
Additional comments about closing: qtkeychain-qt6 0.12.0-2