[frameworks/kwallet] src/api/KWallet: Export kcfg file in CMake config

Nicolas Fella <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a1ab2107de38a6a35fcc8215d2973e9a648e3ff8 by Nicolas Fella.
Committed on 14/08/2026 at 11:57.
Pushed by nicolasfella into branch 'master'.

Export kcfg file in CMake config

That way kwalletmanager can pick it up

M  +1    -0    src/api/KWallet/CMakeLists.txt
M  +1    -0    src/api/KWallet/KF6WalletConfig.cmake.in

https://invent.kde.org/frameworks/kwallet/-/commit/a1ab2107de38a6a35fcc8215d2973e9a648e3ff8

diff --git a/src/api/KWallet/CMakeLists.txt b/src/api/KWallet/CMakeLists.txt
index 184c9ec0..6e41720a 100644
--- a/src/api/KWallet/CMakeLists.txt
+++ b/src/api/KWallet/CMakeLists.txt
@@ -115,6 +115,7 @@ configure_package_config_file(
   "${CMAKE_CURRENT_BINARY_DIR}/KF6WalletConfig.cmake"
   PATH_VARS KDE_INSTALL_DBUSINTERFACEDIR
   PATH_VARS KDE_INSTALL_BINDIR
+  PATH_VARS KDE_INSTALL_KCFGDIR
   INSTALL_DESTINATION  ${CMAKECONFIG_INSTALL_DIR}
 )
 
diff --git a/src/api/KWallet/KF6WalletConfig.cmake.in b/src/api/KWallet/KF6WalletConfig.cmake.in
index 8a48e5fd..61900230 100644
--- a/src/api/KWallet/KF6WalletConfig.cmake.in
+++ b/src/api/KWallet/KF6WalletConfig.cmake.in
@@ -2,6 +2,7 @@
 
 set(KWALLET_DBUS_INTERFACES_DIR "@PACKAGE_KDE_INSTALL_DBUSINTERFACEDIR@")
 set(KWALLETD_BIN_PATH "@PACKAGE_KDE_INSTALL_BINDIR@/ksecretd")
+set(KWALLET_KCFG_FILE "@PACKAGE_KDE_INSTALL_KCFGDIR@/kwalletsettings.kcfg")
 
 include(CMakeFindDependencyMacro)
 find_dependency(Qt6Gui @REQUIRED_QT_VERSION@)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.