KDevelop5/LanguagePlugin
.desktop file
In order to find your language support plugin, KDE needs a .desktop file with some meta information.
X-KDE-Library=...
this must be the same as the name of your library, i.e. look into theCMakeLists.txt
for yourkde4_add_plugin
line and use the same nameX-KDE-PluginInfo-Name=...
this must be the same as the name of your plugin in the code, i.e. look into your main plugin .cpp file and find theK_EXPORT_PLUGIN
line, more exactly the first argument to theKAboutData
.
After installing your plugin, make sure to run kbuildsycoca4
. For testing, try duchainify or ktraderclient.