Use version-less qt DBus macros

They work with both Qt5 and Qt6
wilder-5.24
Nicolas Fella 5 years ago committed by Devin Lin
parent a1f4c58738
commit 3b1ef4a6e3
  1. 6
      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
)

Loading…
Cancel
Save