You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

asgar

Beginner

  • "asgar" started this thread

Posts: 3

Location: poland

  • Send private message

1

Friday, June 18th 2004, 12:35am

Problems with compiling any KDE Applications

KDE version: 3.1.1
QT version : 3.3.1 (qt-x11-free-3.3.1.tar.bz2)
LINUX : DEBIAN SID (KNOPPIX)
Problem !!! i can't compile any KDE Applications !!!!
Even when I use kdevelop to build basic and simple KDE application(like hello world)
first configure , and after it makes crushes with error :
undefined reference to `KPopupMenu::mousePressEvent (QMouseEvent*)' crchainpopupmenu.moc.o (.gnu.linkonce.d._ZTV16CrChainPopupMenu+0x158):

below i wiil describe what i have done with this problem

for configure error about :
UIC and kde plugins
i used this solution with modyfing configure
1) look for the line
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
2) take out: -impl actest.h
the line should be now:
kde_line="$kde_line actest.ui > actest.cpp"
3) look for "klineedit" and change it to "KLineEdit"
The line should be:
if test -f actest.cpp && grep KLineEdit actest.cpp
> /dev/null;

when i have done it configure ended with success.then i tryied to run make and it started complaint about
t symbolic links of libs
(they pointed to nowhere.for example libkjs.so i had to link to
libkjs.so.1.0.0) and so on
but for libkwalletclient.so i couldn't find any matching lib(simply
it didn't exist)
so can you send me this file libkwalletclient.so !!!!!!!!!
(it might be libkwalletclient.so.1.0.0,or something like this
in /usr/lib/)
after it created dummy file libkwalletclient.so(i still need
this file)
to see what will happen.but here it ended at the same problem about undefined reference:
undefined reference to `KPopupMenu::mousePressEvent (QMouseEvent*)' crchainpopupmenu.moc.o (.gnu.linkonce.d._ZTV16CrChainPopupMenu+0x158):
please help me !

hatulflezet

Beginner

Posts: 14

Location: Germany

Occupation: Programmer

  • Send private message

2

Friday, June 18th 2004, 9:59am

RE: Problems with compiling any KDE Applications

I am not 100% sure about this, but it could be because your KDE is not compiled and linked with the QT version you are working with (meaning, KDE libs are linked with older QT version).
Try recompiling your KDE with the QT version you have, or installing QT from the devel packages that came with your KDE (this will reslut in downgrading your QT), or upgrade your KDE to latest ver.

As I said I am no100% sure about this - maybe someone else here could second or deny this.
Click here! I dare ya'!! :]
Project Archimedes
----------------------------------------------------------
"Don't panic, and thanks for all the fish!"