FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
krusader 2.0, how to compile with konqueror menu?

 
Post new topic   Reply to topic    Krusader Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
johnyff



Joined: 27 Jul 2008
Posts: 1

PostPosted: Sun Jul 27, 2008 2:20 pm    Post subject: krusader 2.0, how to compile with konqueror menu? Reply with quote

i have compile krusader 2.0 sucefull, but i missing the Support for the Konqueror kontext menu.

what's the syntaxt to compile with support for the konqueror menu?


sorry for my very bad english, i'm a german user
Back to top
View user's profile Send private message
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1269
Location: Belgium

PostPosted: Mon Jul 28, 2008 9:50 pm    Post subject: Reply with quote

The Konqueror menu is also missing on my computer, but i have not installed the libkonq-dev package. On KDE3 you did need the libkonq-dev package for the Konqueror menu.
So install the libkonq-dev package for KDE4, compile and install Krusader-2 again and see what happens (I have not tried this yet).
Back to top
View user's profile Send private message Visit poster's website
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1269
Location: Belgium

PostPosted: Tue Jul 29, 2008 7:06 pm    Post subject: Reply with quote

I have installed libkonq5-dev on Kubuntu8.04 and recompiled Krusader-2. It doesn't work, no Konqueror menu.
In the code there is "ifdef __LIBKONQ__" to activate the Konqueror menu, maybe it's disabled in Krusader-2? The of the Konqueror menu resides in krpopupmenu.cpp
Back to top
View user's profile Send private message Visit poster's website
johnyff



Joined: 27 Jul 2008
Posts: 1

PostPosted: Tue Jul 29, 2008 9:48 pm    Post subject: Reply with quote

THX

i have to install the libkonq5-dev for KDE4 before compile krusader 2.0, not help
Back to top
View user's profile Send private message
johnyff



Joined: 27 Jul 2008
Posts: 1

PostPosted: Mon Nov 02, 2009 1:35 am    Post subject: Reply with quote

Now, i have solve this Problem:

before compile
edit ...../krusader-2.1.0-beta1/krusader/Panel/listpanel.cpp, .../krusader-2.1.0-beta1/krusader/Panel/krpopupmenu.cpp and ..../krusader-2.1.0-beta1/krusader/Panel/krpopupmenu.h and search for "ifdef __LIBKONQ"

you find this lines
Code:

//#ifdef __LIBKONQ__
//#include <konq_popupmenu.h>
//#include <kbookmarkmanager.h>
//#endif


edit it to and save
Code:

#ifdef __LIBKONQ__
#include <konq_popupmenu.h>
#include <kbookmarkmanager.h>
#endif


after this install kdelibs5-dev and libkonq5-dev, then you can compile krusader with Konqueror-Menu.

mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/ ../
Back to top
View user's profile Send private message
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1269
Location: Belgium

PostPosted: Mon Nov 02, 2009 10:27 pm    Post subject: Reply with quote

I'm not sure.
After the Krusader port to KDE4 the Konqueror menus where removed first, but if I'm correct they where added again afterwards (after the release of Krusader-2.0.0, and available in Krusader-2.1.0-beta1). If you compile Krusader without your code changes I think you will have the Konqueror menus as well.

If I'm correct, the next url is the code change that adds the Konqueror menus for Krusader-2.1.0-beta1 (and later)
But they seems to be called "service menu" in this commit.
http://osdir.com/ml/kde-commits/2009-06/msg06826.html

The code that you reactivated again, is not needed any more, I think.

btw. I'm not a developer
Back to top
View user's profile Send private message Visit poster's website
Frank
Documentation & Marketing Coordinator


Joined: 19 Jun 2003
Posts: 1269
Location: Belgium

PostPosted: Fri Dec 04, 2009 8:54 pm    Post subject: Reply with quote

I can confirm now that no code change is needed to have the Konqueror menus in the right-click menu of Krusader.
Just install the "libkonq5-dev" package first before you compile Krusader, and that is it.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Krusader Forum Index -> General Discussions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group