This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Source build no plugins

Tags: None
(comma "," separated)
thyplosion
Registered Member
Posts
4
Karma
0

Source build no plugins

Mon Jun 08, 2015 3:33 pm
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?
User avatar
kfunk
KDE Developer
Posts
53
Karma
0
OS

Re: Source build no plugins  Topic is solved

Tue Jun 09, 2015 7:31 am
You're likely missing important environment variables.

Please make sure you have set them, see:
https://community.kde.org/Frameworks/Bu ... time_setup
thyplosion
Registered Member
Posts
4
Karma
0

Re: Source build no plugins

Tue Jun 09, 2015 10:01 am
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.
User avatar
kfunk
KDE Developer
Posts
53
Karma
0
OS

Re: Source build no plugins

Tue Jun 09, 2015 11:27 am
Funnily, I'm working exactly on that at that moment. It also annoys me like hell :)

Expect a fix within the next week.
piotrm
Registered Member
Posts
13
Karma
0
OS

Re: Source build no plugins

Tue Jun 09, 2015 1:01 pm
kfunk wrote:You're likely missing important environment variables.

Please make sure you have set them, see:
https://community.kde.org/Frameworks/Bu ... time_setup


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
piotrm
Registered Member
Posts
13
Karma
0
OS

Re: Source build no plugins

Tue Jun 09, 2015 1:08 pm
thyplosion wrote: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.


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 :/.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]