Load custom plugins
tcanabrava at kde.org
Fri Dec 2 07:38:56 UTC 2016
On Thu, Dec 1, 2016 at 10:25 AM, Ovidiu-Florin BOGDAN <ovidiu.b13 at gmail.com>
> 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.
since I had just reinstalled everything in my machine I wanted to try and
see if kdev-embedded was working with my setup.
luckly it is. :)
those are my exported variables:
I doub't that you will need them all, since I compile my whole kde stack,
but either way, those are the full list of variables you need for a full
> *Ovidiu - Florin BOGDAN*
> GeekAliens.com <http://ovidiu.geekaliens.com>
> Kubuntu România <http://kubuntu.org>
> 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-
>> > ns export
>> > XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/KDE/install/lib/x86_64-li
>> > kdevelopq
>> > ```
>> > I don't think this is complete because:
>> > - KDevelop does not load the plugin nor throw an error about it
>> Please verify:
>> - Does $HOME/KDE/install/lib/x86_64-linux-gnu/plugins contain
>> related .so files?
>> There should be kdevplatform/26/kdevembedded.so
>> > - There is also a ~/KDE/install/share dir that contains plugin
>> > 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>
>> > <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
>> > > well.
>> > >
>> > > Greetings,
>> > > Sven
>> Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel