Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KNotes
Commits
7d31b38d
Commit
7d31b38d
authored
Feb 22, 2022
by
Laurent Montel
😁
Browse files
Fix compile against qt6
parent
a6350e7f
Pipeline
#140828
passed with stage
in 1 minute and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
noteshared/src/CMakeLists.txt
View file @
7d31b38d
...
...
@@ -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
M
aildir
S
ettings
)
org.kde.Akonadi.Maildir.Settings
m
aildir
s
ettings
)
add_custom_target
(
noteshared_settings_xml ALL
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/org.kde.Akonadi.Maildir.Settings.xml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment