Load custom plugins
kfunk at kde.org
Thu Dec 1 09:04:14 UTC 2016
On Thursday, 1 December 2016 10:50:57 CET Ovidiu-Florin BOGDAN wrote:
> It doesn't work.
> I have this layout:
> ~/KDE/install where I set the CMAKE_INSTALL_PREFIX to. I run: `$ rm -rf *
> && cmake -DCMAKE_INSTALL_PREFIX=~/KDE/install ../../source/kdev-embedded &&
> make && make install`
> after that I set the environment and execute:
> ns export
> I don't think this is complete because:
> - KDevelop does not load the plugin nor throw an error about it
- Does $HOME/KDE/install/lib/x86_64-linux-gnu/plugins contain kdev-embedded
related .so files?
There should be kdevplatform/26/kdevembedded.so
> - There is also a ~/KDE/install/share dir that contains plugin related
> files. Directory to which I didn't point to from anywhere.
XDG_DATA_DIRS should point to that directory.
Just to make to sure: You also need to start kdevelop from within that
environment -- launching it from e.g. the KDE start menu won't work.
> What should I do?
Please conduct the following page for more info:
Hope that helps,
> *Ovidiu - Florin BOGDAN*
> GeekAliens.com <http://ovidiu.geekaliens.com>
> Kubuntu România <http://kubuntu.org>
> 2016-11-29 23:40 GMT+02:00 Sven Brauch <mail at svenbrauch.de>:
> > Hi,
> > On 11/29/2016 09:07 PM, Ovidiu-Florin BOGDAN wrote:
> > > How would one load plugins in Kdevelop?
> > Just install them anywhere and set QT_PLUGIN_PATH appropriately. The
> > simplest way is to install into the same prefix like KDevelop, but you
> > can also install to e.g. ~/install-kdev-plugins, and export
> > QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$HOME/install-kdev-plugins/lib/plugins
> > (if I'm not mistaken). You might need to set $XDG_DATA_DIRS like that as
> > well.
> > Greetings,
> > Sven
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 163 bytes
Desc: This is a digitally signed message part.
More information about the KDevelop-devel