`KGlobalSettings' undeclared error
Status: Beta
Brought to you by:
the_zoi
When compiling the program on a debian stable (with a
3.2 kde and a 3.2.1 qt) I got the following error:
kbltickerballoon.cpp:87: `KGlobalSettings' undeclared
(first use this function)
Commenting this if' part and leaving just the part that
follows the 'else' at least lets me compile it. I
haven't got a clue about c++, though so I haven't
investigated missing includes or so.
Logged In: YES
user_id=666161
I also found this error compiling on SUSE 9.1 (KDE 3.2). I
suspect that the correct way to get around it is to add a
line at the start of the file (kbltickerballoon.cpp) as follows:
#include <kglobalsettings.h>
At least, this let me complete the make (although the make
install still wouldn't work).
Disclaimer - I know nothing about programming KDE!
Logged In: YES
user_id=637588
running gentoo. with KDE 3.4.1
had to specify a prefix to the configure script
./configure --prefix /usr/kde/3.4
configure should look at $KDEDIR, anyway....
I had to modify (kbltickerballoon.cpp) as well....
adding the missing include
#include <kglobalsettings.h>
both make and make install worked
Logged In: YES
user_id=561004
The fix in the first comment worked for me on Suse 10:
* ./configure --prefix /opt/kde3
* add #include <kglobalsettings.h> to kbltickerballoon.cpp
* use 'sudo make install' instead of 'make install'