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

Compile error on 4.0rc1

Tags: None
(comma "," separated)
microchip
Registered Member
Posts
59
Karma
0
OS

Compile error on 4.0rc1

Tue May 04, 2010 2:15 pm
Just grabbed both libktorrent and ktorrent 4.0rc1. First one compiles with no issues, but second one errors out. I have all of the requirements installed

Code: Select all
[ 84%] Building CXX object ktorrent/CMakeFiles/ktorrent_app.dir/gui.o
In file included from /home/neutrino/ktorrent/ktorrent/gui.cpp:61:
/home/neutrino/ktorrent/ktorrent/trayicon.h:26:31: error: KStatusNotifierItem: No such file or directory
In file included from /home/neutrino/ktorrent/ktorrent/gui.cpp:61:
/home/neutrino/ktorrent/ktorrent/trayicon.h:153: error: ISO C++ forbids declaration of ‘KStatusNotifierItem’ with no type
/home/neutrino/ktorrent/ktorrent/trayicon.h:153: error: expected ‘;’ before ‘*’ token
/home/neutrino/ktorrent/ktorrent/gui.cpp: In member function ‘void kt::GUI::setupActions()’:
/home/neutrino/ktorrent/ktorrent/gui.cpp:390: warning: unused variable ‘pref_action’
make[2]: *** [ktorrent/CMakeFiles/ktorrent_app.dir/gui.o] Error 1
make[1]: *** [ktorrent/CMakeFiles/ktorrent_app.dir/all] Error 2
make: *** [all] Error 2
George
Moderator
Posts
5421
Karma
1

Re: Compile error on 4.0rc1

Tue May 04, 2010 5:18 pm
The file KStatusNotifierItem which is missing was added in KDE 4.4, so you need at least that version of KDE.
microchip
Registered Member
Posts
59
Karma
0
OS

Re: Compile error on 4.0rc1

Tue May 04, 2010 9:39 pm
George wrote:The file KStatusNotifierItem which is missing was added in KDE 4.4, so you need at least that version of KDE.


wow, so you basically force a whole upgrade of the desktop just so one can use the new version of ktorrent? I'd say that's pretty unacceptable behavior. Is there really no workaround for that? If not, guess I'll just keep using beta1 until sometime I upgrade to kde 4.4 when my distro provides it by default
George
Moderator
Posts
5421
Karma
1

Re: Compile error on 4.0rc1

Thu May 06, 2010 4:13 pm
microchip8 wrote:
George wrote:The file KStatusNotifierItem which is missing was added in KDE 4.4, so you need at least that version of KDE.


wow, so you basically force a whole upgrade of the desktop just so one can use the new version of ktorrent? I'd say that's pretty unacceptable behavior. Is there really no workaround for that? If not, guess I'll just keep using beta1 until sometime I upgrade to kde 4.4 when my distro provides it by default


The trouble with backwards compatibility is that it leads to ugly hacks, I'm still considering whether to be backwards compatible with KDE 4.3.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]