How to create and install a plugin for KDevelop?

In particular, I'm trying to install kdev-control-flow-graph

I managed to clone the source from git, cmake source to create kdevcontrolflowgraphview.so installed in / usr / local / lib, but when I restart kdevelop I cannot find any signs of the plugin!

It does not appear in the Downloaded Plugins window, and I cannot find a way to talk about the existence of a new plug-in.

I am running KDevelop version 4.2.3 using KDE Development Platform 4.7.2 on the 64-bit version of Ubuntu 11.10.

Any help or suggestions would be greatly appreciated.

+6
source share
1 answer

Make sure that "/ usr / local / lib" is in your KDEDIRS var and run "kbuildsyscocoa4 --noincremental"

If this does not work, perhaps the .desktop plugin file should have its own version.

Also note that you are not using KDE Development Platform 4.7.2 because it does not exist (you probably mean KDE 4.7.2), you should run KDevplatform 1.2.3.

+2
source

Source: https://habr.com/ru/post/900331/


All Articles