PlasMate && KDevplatform issue

Aaron J. Seigo aseigo at kde.org
Wed Jun 24 04:32:16 CEST 2009


On Tuesday 23 June 2009, Diego Casella ([Po]lentino) wrote:
> Hi guys,
> I'm  a bit in trouble with compiling kdevplatform module where the git
> plugin is located.
> In fact, compiling that module doesn't copy the include headers
> from$HOME/kdevplatform/plugin/git folder
> under $KDEDIR/include/kdevplatform/...

the git plugin doesn't install any headers, no. instead, you load it via the 
KDevDVCSViewFactory.

sth like:

#include <kdevplatform/interfaces/iplugincontroler.h>
#include <kdevplatform/vcs/dvcs/dvcsplugin.h>

IPluginController *pluginController = new IPluginController(this);
IPlugin* plugins = pluginController -
>pluginForExtension("org.kdevelop.IBasicVersionControl", "Git");
IDistributedVersionControl* idistr = p-
>extension<IDistributedVersionControl>();

assuming the git plugin is called Git, of course (which it apparently is) ... 
you can get a list with:

QList<IPlugin*> plugins = pluginController -
>allPluginsForExtension("org.kdevelop.IBasicVersionControl");


-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090623/a90698a6/attachment.sig 


More information about the Plasma-devel mailing list