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

Compile error on 4.0beta2

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

Compile error on 4.0beta2

Sun Apr 18, 2010 1:50 am
Just grabbed version 4.0beta2 from the main page and compile errored out at the plasma applet

Code: Select all
[ 88%] Built target plasma_applet_ktorrent_automoc
[ 89%] Generating ui_appletconfig.h
Scanning dependencies of target plasma_applet_ktorrent
[ 89%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/plasma_applet_ktorrent_automoc.o
[ 89%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o
In file included from /home/neutrino/ktorrent-4.0beta2/plasma/applet/applet.cpp:36:
/home/neutrino/ktorrent-4.0beta2/libbtcore/util/functions.h:58: error: expected unqualified-id before numeric constant
make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o] Error 1
make[1]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
make: *** [all] Error 2


OS: openSUSE 11.1 64bit
QT: 4.5.3
Cmake: 2.6
GCC: 4.3.2
KDE: 4.3.5

Thoughts on how to fix (or disable the plasmoid as I don't really need it)?
netcelli
Registered Member
Posts
44
Karma
0
OS

Re: Compile error on 4.0beta2

Sun Apr 18, 2010 6:54 am
Ktorrent 4.0beta2 requires Qt 4.6
microchip
Registered Member
Posts
59
Karma
0
OS

Re: Compile error on 4.0beta2

Sun Apr 18, 2010 1:42 pm
netcelli wrote:Ktorrent 4.0beta2 requires Qt 4.6


I've installed version 4.6.3 of QT4, but still get a similar problem

Code: Select all
[ 89%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/plasma_applet_ktorrent_automoc.o
[ 89%] Building CXX object plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o
In file included from /home/neutrino/ktorrent-4.0beta2/plasma/applet/applet.cpp:36:
/home/neutrino/ktorrent-4.0beta2/libbtcore/util/functions.h:58: error: expected unqualified-id before numeric constant
make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o] Error 1
make[1]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
make: *** [all] Error 2
microchip
Registered Member
Posts
59
Karma
0
OS

Re: Compile error on 4.0beta2

Sun Apr 18, 2010 4:13 pm
Well, the only way for me to successfully compile beta2, was to comment out the plasma widget in the cmake list of the plasma dir so it will skip building it
thomcoes
Registered Member
Posts
2
Karma
0

Re: Compile error on 4.0beta2

Mon Apr 26, 2010 9:13 am
Does bug has been solved or is it still there??


George
Moderator
Posts
5421
Karma
1

Re: Compile error on 4.0beta2

Mon Apr 26, 2010 5:07 pm
KDE 4.5 is required
imported4-jonas
Registered Member
Posts
35
Karma
0

Re: Compile error on 4.0beta2

Mon Apr 26, 2010 7:49 pm
George wrote:KDE 4.5 is required

You do mean KDE 4.4, right?
George
Moderator
Posts
5421
Karma
1

Re: Compile error on 4.0beta2

Tue Apr 27, 2010 3:43 pm
No I mean Qt 4.6, getting confused myself. I'm going to disable the plasma widget if Qt 4.6 is not found.


Bookmarks



Who is online

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