Commit 7d31b38d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile against qt6

parent a6350e7f
Pipeline #140828 passed with stage
in 1 minute and 10 seconds
......@@ -56,15 +56,14 @@ ecm_qt_declare_logging_category(libnoteshared_SRCS HEADER noteshared_debug.h IDE
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")
qt_add_dbus_interface(libnoteshared_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml ${_codeFile} ${_className}
${CMAKE_CURRENT_BINARY_DIR}/${_ifaceName}.xml ${_className}
)
endmacro()
add_resource_iface( ${CMAKE_CURRENT_SOURCE_DIR}/resources/maildirresource.kcfg
org.kde.Akonadi.Maildir.Settings MaildirSettings )
org.kde.Akonadi.Maildir.Settings maildirsettings )
add_custom_target(noteshared_settings_xml ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.Maildir.Settings.xml
......
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