<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thank you.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">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.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thank you for clearing it up for me.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font style="color:rgb(51,51,255)" size="2" face="verdana, sans-serif"><b>Ovidiu - Florin BOGDAN</b></font><div><font color="#3333ff" face="verdana, sans-serif"><font size="2"><a href="http://ovidiu.geekaliens.com" target="_blank">Geek<font color="#3333ff">A</font>liens.com</a></font><br></font></div><div><font color="#3333ff"><a href="http://kubuntu.org" target="_blank"><font face="verdana, sans-serif">Kubuntu România</font></a><br></font></div><div><div><a href="http://www.google.com/profiles/ovidiu.b13" target="_blank"></a><br></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-12-01 11:04 GMT+02:00 Kevin Funk <span dir="ltr"><<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thursday, 1 December 2016 10:50:57 CET Ovidiu-Florin BOGDAN wrote:<br>
> It doesn't work.<br>
><br>
> I have this layout:<br>
><br>
> ~/KDE/install where I set the CMAKE_INSTALL_PREFIX to. I run: `$ rm -rf *<br>
> && cmake -DCMAKE_INSTALL_PREFIX=~/KDE/<wbr>install ../../source/kdev-embedded &&<br>
> make && make install`<br>
><br>
> after that I set the environment and execute:<br>
> ```<br>
><br>
> export<br>
> QT_PLUGIN_PATH=$QT_PLUGIN_<wbr>PATH:$HOME/KDE/install/lib/<wbr>x86_64-linux-gnu/plugi<br>
> ns export<br>
> XDG_DATA_DIRS=$XDG_DATA_DIRS:$<wbr>HOME/KDE/install/lib/x86_64-<wbr>linux-gnu/plugins<br>
</span>> kdevelopq<br>
<span class="">><br>
> ```<br>
><br>
> I don't think this is complete because:<br>
><br>
</span>> - KDevelop does not load the plugin nor throw an error about it<br>
<br>
Heya,<br>
<br>
Please verify:<br>
- Does $HOME/KDE/install/lib/x86_64-<wbr>linux-gnu/plugins contain kdev-embedded<br>
related .so files?<br>
There should be kdevplatform/26/kdevembedded.<wbr>so<br>
<br>
> - There is also a ~/KDE/install/share dir that contains plugin related<br>
<span class="">> files. Directory to which I didn't point to from anywhere.<br>
<br>
</span>XDG_DATA_DIRS should point to that directory.<br>
<br>
Just to make to sure: You also need to start kdevelop from within that<br>
environment -- launching it from e.g. the KDE start menu won't work.<br>
<br>
> What should I do?<br>
<br>
Please conduct the following page for more info:<br>
<a href="https://community.kde.org/Guidelines_and_HOWTOs/" rel="noreferrer" target="_blank">https://community.kde.org/<wbr>Guidelines_and_HOWTOs/</a><br>
Build_from_source#Set_up_a_<wbr>script_for_preparing_the_<wbr>environment<br>
<br>
Hope that helps,<br>
Kevin<br>
<br>
> *Ovidiu - Florin BOGDAN*<br>
> GeekAliens.com <<a href="http://ovidiu.geekaliens.com" rel="noreferrer" target="_blank">http://ovidiu.geekaliens.com</a>><br>
> Kubuntu România <<a href="http://kubuntu.org" rel="noreferrer" target="_blank">http://kubuntu.org</a>><br>
> <<a href="http://www.google.com/profiles/ovidiu.b13" rel="noreferrer" target="_blank">http://www.google.com/<wbr>profiles/ovidiu.b13</a>><br>
<div class="HOEnZb"><div class="h5">><br>
> 2016-11-29 23:40 GMT+02:00 Sven Brauch <<a href="mailto:mail@svenbrauch.de">mail@svenbrauch.de</a>>:<br>
> > Hi,<br>
> ><br>
> > On 11/29/2016 09:07 PM, Ovidiu-Florin BOGDAN wrote:<br>
> > > How would one load plugins in Kdevelop?<br>
> ><br>
> > Just install them anywhere and set QT_PLUGIN_PATH appropriately. The<br>
> > simplest way is to install into the same prefix like KDevelop, but you<br>
> > can also install to e.g. ~/install-kdev-plugins, and export<br>
> > QT_PLUGIN_PATH=$QT_PLUGIN_<wbr>PATH:$HOME/install-kdev-<wbr>plugins/lib/plugins<br>
> > (if I'm not mistaken). You might need to set $XDG_DATA_DIRS like that as<br>
> > well.<br>
> ><br>
> > Greetings,<br>
> > Sven<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></font></span></blockquote></div><br></div>