KDevelop5/LanguagePlugin: Difference between revisions
Appearance
Created page with "= .desktop file = In order to find your language support plugin, KDE needs a .desktop file with some meta information. * <code>X-KDE-Library=...</code> this must be the same..." |
(No difference)
|
Revision as of 20:03, 24 October 2012
.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.txtfor yourkde4_add_pluginline 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_PLUGINline, more exactly the first argument to theKAboutData.
After installing your plugin, make sure to run kbuildsycoca4. For testing, try duchainify or ktraderclient.