Load custom plugins
Ovidiu-Florin BOGDAN
ovidiu.b13 at gmail.com
Thu Dec 1 09:25:15 UTC 2016
Thank you.
I've had a script for that, but since I get breaks from work rarely, I
rarely use it, and I keep forgetting how to set up the environment.
Thank you for clearing it up for me.
*Ovidiu - Florin BOGDAN*
GeekAliens.com <http://ovidiu.geekaliens.com>
Kubuntu România <http://kubuntu.org>
<http://www.google.com/profiles/ovidiu.b13>
2016-12-01 11:04 GMT+02:00 Kevin Funk <kfunk at kde.org>:
> 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:
> > ```
> >
> > export
> > QT_PLUGIN_PATH=$QT_PLUGIN_PATH:$HOME/KDE/install/lib/
> x86_64-linux-gnu/plugi
> > ns export
> > XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/KDE/install/lib/x86_64-
> linux-gnu/plugins
> > kdevelopq
> >
> > ```
> >
> > I don't think this is complete because:
> >
> > - KDevelop does not load the plugin nor throw an error about it
>
> Heya,
>
> Please verify:
> - 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:
> https://community.kde.org/Guidelines_and_HOWTOs/
> Build_from_source#Set_up_a_script_for_preparing_the_environment
>
> Hope that helps,
> Kevin
>
> > *Ovidiu - Florin BOGDAN*
> > GeekAliens.com <http://ovidiu.geekaliens.com>
> > Kubuntu România <http://kubuntu.org>
> > <http://www.google.com/profiles/ovidiu.b13>
> >
> > 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161201/a804ab47/attachment.html>
More information about the KDevelop-devel
mailing list