Development/Tutorials/Kross/Scripts-as-KPlugins

From KDE TechBase

Introduction

Once you have successfully created a working Plugin with Kross for your application, you probably would like to have it recognized as a KPlugin, so that you can retrieve it through KService. Doing that is easy and does not require additional compiled code: you just need to create a wrapper KPlugin and a service descriptor (.desktop) file for your script, just as if it was a real C++ Plugin.

The real part is coming soon.