Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I build and install a plugin for KDevelop?

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

I have managed to clone the source from git, cmake the source to build a kdevcontrolflowgraphview.so installed to /usr/local/lib, but when I restart kdevelop, I can find no sign of the plugin!

Under the Loaded Plugins window, it doesn't show up, and I can't seem to find a way to tell it about the existence of the new plug-in.

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

Any help or suggestions would be greatly appreciated.

like image 820
kfmfe04 Avatar asked Oct 29 '11 05:10

kfmfe04


1 Answers

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

If that doesn't work, perhaps the plugin's .desktop file needs to have its version modified.

Also note that you aren't running KDE Development Platform 4.7.2 because that doesn't exist (you probably mean KDE 4.7.2), you should be running KDevplatform 1.2.3.

like image 154
OliJG Avatar answered Nov 15 '22 07:11

OliJG