https://bugs.kde.org/show_bug.cgi?id=463402

            Bug ID: 463402
           Summary: PolkitQt5-1 is not correctly set in
                    KF5AuthConfig.cmake.in file
    Classification: Frameworks and Libraries
           Product: frameworks-kauth
           Version: 5.101.0
          Platform: Mageia RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdelibs-b...@kde.org
          Reporter: geiger.david68...@gmail.com
  Target Milestone: ---

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()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to