On 2015-07-04, Filipe Saraiva <fil...@kde.org> wrote: > Hi, I am developing the port of Cantor plugins and libraries to "JSON > files way" - translanting the .desktop files to .json and putting it in > the binaries.
Are you talking about plugins (those that gets loaded by [KQ]PluginLoader / QLibrary / dlopen) or libraries (those you target_link_libraries at build time) ? Libraries usually doesn't have this kind of metadata, as they are loaded by the system loader (ld.so). (Yes. pedantics. on ELF systems you can also dl-open libraries, but it is not in general something that should be done) > In plugins I am using kcoreaddons_add_plugin. With shared libraries, > what must I to use? just add_library. no metadata. /Sune >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<