| View previous topic :: View next topic |
| Author |
Message |
johnyff
Joined: 27 Jul 2008 Posts: 1
|
Posted: Sun Jul 27, 2008 2:20 pm Post subject: krusader 2.0, how to compile with konqueror menu? |
|
|
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 |
|
 |
Frank Documentation & Marketing Coordinator

Joined: 19 Jun 2003 Posts: 1269 Location: Belgium
|
Posted: Mon Jul 28, 2008 9:50 pm Post subject: |
|
|
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 |
|
 |
Frank Documentation & Marketing Coordinator

Joined: 19 Jun 2003 Posts: 1269 Location: Belgium
|
Posted: Tue Jul 29, 2008 7:06 pm Post subject: |
|
|
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 |
|
 |
johnyff
Joined: 27 Jul 2008 Posts: 1
|
Posted: Tue Jul 29, 2008 9:48 pm Post subject: |
|
|
THX
i have to install the libkonq5-dev for KDE4 before compile krusader 2.0, not help |
|
| Back to top |
|
 |
johnyff
Joined: 27 Jul 2008 Posts: 1
|
Posted: Mon Nov 02, 2009 1:35 am Post subject: |
|
|
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 |
|
 |
Frank Documentation & Marketing Coordinator

Joined: 19 Jun 2003 Posts: 1269 Location: Belgium
|
Posted: Mon Nov 02, 2009 10:27 pm Post subject: |
|
|
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 |
|
 |
Frank Documentation & Marketing Coordinator

Joined: 19 Jun 2003 Posts: 1269 Location: Belgium
|
Posted: Fri Dec 04, 2009 8:54 pm Post subject: |
|
|
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 |
|
 |
|