Hi, I found an incorrect PolkitQt5 setting in "KF5AuthConfig.cmake.in" file since this commit https://invent.kde.org/frameworks/kauth/-/commit/f6e2a38034be08650b250addcffcb6aab0933ee6 If the "KAUTH_BACKEND_NAME" = POLKITQT5-1 so the line 27: find_dependency(PolkitQt@QT_MAJOR_VERSION@ "@POLKITQT_MIN_VERSION@") should be replaced for: find_dependency(PolkitQt@QT_MAJOR_VERSION@-1 "@POLKITQT_MIN_VERSION@") like in this patch: --- a/KF5AuthConfig.cmake.in 2022-12-03 10:42:36.000000000 +0100 +++ b/KF5AuthConfig.cmake.in 2022-12-23 06:41:12.193626246 +0100 @@ -24,7 +24,7 @@ if(NOT @BUILD_SHARED_LIBS@) endif() if(KAUTH_BACKEND_NAME AND NOT @KAUTH_BUILD_CODEGENERATOR_ONLY@ AND "${KAUTH_BACKEND_NAME}" STREQUAL "POLKITQT@QT_MAJOR_VERSION@-1") - find_dependency(PolkitQt@QT_MAJOR_VERSION@ "@POLKITQT_MIN_VERSION@") + find_dependency(PolkitQt@QT_MAJOR_VERSION@-1 "@POLKITQT_MIN_VERSION@") endif() endif()
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kauth/-/merge_requests/34
Git commit 2127ed5c79a82467503fc640e626bf7d3aee3448 by Nicolas Fella. Committed on 30/12/2022 at 00:32. Pushed by wrobelda into branch 'master'. Fix polkit package name in CMake config M +2 -2 KF5AuthConfig.cmake.in https://invent.kde.org/frameworks/kauth/commit/2127ed5c79a82467503fc640e626bf7d3aee3448