From 3b1ef4a6e3ebbba613501006dd8e805db631af42 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Mon, 31 May 2021 00:50:16 +0200 Subject: [PATCH] Use version-less qt DBus macros They work with both Qt5 and Qt6 --- kcms/users/src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kcms/users/src/CMakeLists.txt b/kcms/users/src/CMakeLists.txt index 46ee56d9e..debd8c1dc 100644 --- a/kcms/users/src/CMakeLists.txt +++ b/kcms/users/src/CMakeLists.txt @@ -10,19 +10,19 @@ set_source_files_properties(org.freedesktop.Accounts.xml set_source_files_properties(org.freedesktop.Accounts.User.xml PROPERTIES NO_NAMESPACE TRUE) -qt5_add_dbus_interface(kcm_users_SRCS +qt_add_dbus_interface(kcm_users_SRCS org.freedesktop.Accounts.xml accounts_interface ) -qt5_add_dbus_interface(kcm_users_SRCS +qt_add_dbus_interface(kcm_users_SRCS org.freedesktop.Accounts.User.xml user_interface ) set(login1_manager_xml org.freedesktop.login1.Manager.xml) set_source_files_properties(${login1_manager_xml} PROPERTIES INCLUDE "usersessions.h") -qt5_add_dbus_interface(kcm_users_SRCS +qt_add_dbus_interface(kcm_users_SRCS ${login1_manager_xml} login1_interface )