Web lists-archives.com

Re: Plasma 5 dataengine




On Tuesday, October 18, 2016 9:03:28 AM CEST Michal Kimle wrote:
> Hi everyone,
> 
> I'm developing a news feeds dataengine that would substitute an old Plasma
> 4 RSS dataengine. I managed to write a code and compile it by looking at
> other dataengines currently available in Plasma 5.

cool stuff! You might reach more Plasma devs on plasma-devel@xxxxxxx.
> 
> I would like to test this newly built dataengine but I can't make KDE to
> recognize it. I tried to follow this tutorial
> https://techbase.kde.org/Development/Tutorials/Plasma4/DataEngines#Testing
> but it's only for Plasma 4.
> 
> Can somebody please tell me where should I put those .so and .desktop files
> so that KDE will recognize it and dataengine will be available via
> plasmaengineexplorer command? Is there somewhere a documentation/tutorial
> for Plasma 5 dataengines?

I'm not aware of a dataengine. But we can look at the source :-) I'm taking a 
dataengine I wrote (plasma-workspace/klipper):

install(TARGETS plasma_engine_clipboard DESTINATION ${KDE_INSTALL_PLUGINDIR}/
plasma/dataengine)
install(FILES plasma-dataengine-clipboard.desktop DESTINATION $
{KDE_INSTALL_KSERVICES5DIR})
install(FILES org.kde.plasma.clipboard.operations DESTINATION $
{PLASMA_DATA_INSTALL_DIR}/services)

Hope that helps you to get some steps further :-)

Cheers
Martin

Attachment: signature.asc
Description: This is a digitally signed message part.