Registered Member
|
Hi all,
I'm using Gentoo (with KDE Plasma) and I wanted to try the Plasma version of kdevelop from source. I've done a git-clone of both kdevplatform and kdevelop and they built fine. I've then installed them under $HOME/builds/root which is where I install misc software that I've built from source (like SVN gcc and llvm/clang). When I start kdevelop there are no plugins! Code completion doesn't work and none of the side-bars that 4.7.1 has are there. The console says cannot find .rc file "kdevsessionui.rc" for component "kdevsession" cannot find .rc file "kdevelopui.rc" for component "kdevelop" KServiceTypeTrader: serviceType "KDevelop/Plugin" not found cannot find .rc file "kdevsourceformatter.rc" for component "kdevsourceformatter" cannot find .rc file "kdevdebuggershellui.rc" for component "kdevdebugger" cannot find .rc file "kdevelopui.rc" for component "kdevelop" cannot find .rc file "kdevelopui.rc" for component "kdevelop" kdevplatform.shell: Unable to find a plugin named ' "KDevWelcomePage" '! and strace says stat("/home/pedro.ferreira/.local/share/kxmlgui5/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/local/share/kxmlgui5/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/share/kxmlgui5/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/home/pedro.ferreira/.local/share/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/local/share/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/share/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/home/pedro.ferreira/.local/share/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/local/share/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) stat("/usr/share/kdevsession/kdevsessionui.rc", 0x7ffe434c4f80) = -1 ENOENT (No such file or directory) write(2, "cannot find .rc file \"kdevsessio"..., 68cannot find .rc file "kdevsessionui.rc" for component "kdevsession" I did find the files under $home/builds/root/share/{...} but kdev doesn't seem to be searching there. Did I miss something? |
KDE Developer
|
You're likely missing important environment variables.
Please make sure you have set them, see: https://community.kde.org/Frameworks/Bu ... time_setup |
Registered Member
|
Awesomesauce!
Thanks a lot - such a silly mistake. On another note (off topic), is there a way to make "CTRL-Click" on function names go to the implementation instead of declaration if that is available? More often than not, that's what I want to do. |
KDE Developer
|
Funnily, I'm working exactly on that at that moment. It also annoys me like hell
Expect a fix within the next week. |
Registered Member
|
Funny. Yesterday I was facing with the same problem and I found little different solution - not such elegant like this one. I mean I just created symbolic for directory where kdeveplatorm holds plugins to $QTDIR/plugins:$QT_PLUGIN_PATH |
Registered Member
|
If you happen to use also keyboard shortcuts then good news is such that already are existing properly shortcuts. First leading to declaration and second to definition. I mean default following shortcuts: Ctrl+. (jump to declaration) and Ctrl+, (jump to definition). Personally I prefer shortcuts :/. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]