<div dir="ltr">So,<br><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 10:25 AM, Ovidiu-Florin BOGDAN <span dir="ltr"><<a href="mailto:ovidiu.b13@gmail.com" target="_blank">ovidiu.b13@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif">Thank you.<br><br></div><div 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 style="font-family:verdana,sans-serif">Thank you for clearing it up for me.<br></div></div></blockquote><div><br><br></div><div>since I had just reinstalled everything in my machine I wanted to try and see if kdev-embedded was working with my setup.<br></div><div>luckly it is. :)<br></div><div>those are my exported variables:<br><br>export KF5=/home/tcanabrava/Projects/install<br>export QTDIR=/usr<br>export CMAKE_PREFIX_PATH=$KF5:$CMAKE_PREFIX_PATH<br>export XDG_DATA_DIRS=$KF5/share:$XDG_DATA_DIRS:/usr/share<br>export XDG_CONFIG_DIRS=$KF5/etc/xdg:$XDG_CONFIG_DIRS:/etc/xdg<br>export PATH=$KF5/bin:$QTDIR/bin:$PATH<br>export QT_PLUGIN_PATH=$KF5/lib64/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH<br>export QML2_IMPORT_PATH=$KF5/lib64/qml:$QTDIR/qml<br>export QML_IMPORT_PATH=$QML2_IMPORT_PATH<br>export KDE_SESSION_VERSION=5<br>export KDE_FULL_SESSION=true<br>export LANG=en_US.UTF-8<br>export LESSCHARSET=utf-8<br>export LD_LIBRARY_PATH=$KF5/lib64<br><br></div><div>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 kde experience.<br><br></div><div>Tomaz<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif"></div></div><div class="gmail_extra"><span class="gmail-"><br clear="all"><div><div class="gmail-m_6765515357080576059gmail_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></span><div><div class="gmail-h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>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/i<wbr>nstall ../../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_PATH<wbr>:$HOME/KDE/install/lib/x86_64-<wbr>linux-gnu/plugi<br>
> ns export<br>
> XDG_DATA_DIRS=$XDG_DATA_DIRS:$<wbr>HOME/KDE/install/lib/x86_64-li<wbr>nux-gnu/plugins<br>
</span>> kdevelopq<br>
<span>><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-l<wbr>inux-gnu/plugins contain kdev-embedded<br>
related .so files?<br>
  There should be kdevplatform/26/kdevembedded.s<wbr>o<br>
<br>
>    - There is also a ~/KDE/install/share dir that contains plugin related<br>
<span>>    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/Guid<wbr>elines_and_HOWTOs/</a><br>
Build_from_source#Set_up_a_scr<wbr>ipt_for_preparing_the_environm<wbr>ent<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/profile<wbr>s/ovidiu.b13</a>><br>
<div class="gmail-m_6765515357080576059HOEnZb"><div class="gmail-m_6765515357080576059h5">><br>
> 2016-11-29 23:40 GMT+02:00 Sven Brauch <<a href="mailto:mail@svenbrauch.de" target="_blank">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_PATH<wbr>:$HOME/install-kdev-plugins/<wbr>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="gmail-m_6765515357080576059HOEnZb"><font color="#888888">--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>