Commit f367f456 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use qt_ macro so it will help us to build against qt5/qt6

parent 974866c3
Pipeline #61009 canceled with stage
......@@ -13,7 +13,7 @@ kconfig_add_kcfg_files(notesagent_SRCS
)
qt5_add_dbus_adaptor(notesagent_SRCS org.freedesktop.Akonadi.NotesAgent.xml notesagent.h NotesAgent)
qt_add_dbus_adaptor(notesagent_SRCS org.freedesktop.Akonadi.NotesAgent.xml notesagent.h NotesAgent)
ecm_qt_declare_logging_category(notesagent_SRCS HEADER notesagent_debug.h IDENTIFIER NOTESAGENT_LOG CATEGORY_NAME org.kde.pim.notesagentagent
DESCRIPTION "knotes (note agent)"
OLD_CATEGORY_NAMES log_notesagentagent
......
......@@ -40,7 +40,7 @@ macro(add_resource_iface _kcfgFile _ifaceName _className)
kcfg_generate_dbus_interface(${_kcfgFile} ${_ifaceName})
string(TOLOWER ${_className} _codeFile)
set_source_files_properties( ${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml PROPERTIES INCLUDE "resources/metatype.h")
qt5_add_dbus_interface(libnoteshared_SRCS
qt_add_dbus_interface(libnoteshared_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml ${_codeFile} ${_className}
)
endmacro()
......
......@@ -87,7 +87,7 @@ set(knotes_SRCS knotes_debug.cpp
)
qt5_add_dbus_adaptor(knotes_SRCS apps/org.kde.KNotes.xml apps/knotesapp.h KNotesApp )
qt_add_dbus_adaptor(knotes_SRCS apps/org.kde.KNotes.xml apps/knotesapp.h KNotesApp )
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-knotes.png")
ecm_add_app_icon(knotes_SRCS ICONS ${ICONS_SRCS})
......
......@@ -13,8 +13,8 @@ set(kontact_knotesplugin_PART_SRCS
knotesselectdeletenotesdialog.cpp
)
qt5_add_dbus_adaptor(kontact_knotesplugin_PART_SRCS org.kde.kontact.KNotes.xml knotes_part.h KNotesPart)
qt5_add_dbus_interfaces(kontact_knotesplugin_interface_SRCS org.kde.kontact.KNotes.xml)
qt_add_dbus_adaptor(kontact_knotesplugin_PART_SRCS org.kde.kontact.KNotes.xml knotes_part.h KNotesPart)
qt_add_dbus_interfaces(kontact_knotesplugin_interface_SRCS org.kde.kontact.KNotes.xml)
ecm_qt_declare_logging_category(kontact_knotesplugin_PART_SRCS HEADER knotes_kontact_plugin_debug.h IDENTIFIER KNOTES_KONTACT_PLUGIN_LOG CATEGORY_NAME org.kde.pim.knoteskontactplugin
DESCRIPTION "knotes (knotes kontact plugin)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment