qt-designer linking problem with kde parts
hi there,
i'm building an application with qt3-designer. things were going well as long as i was using strictly qt parts (no kde parts), but when i tried adding a KLineEdit the linker barfed.
[foucault][macho ~]$ make
g++ -o junto .obj/main.o .obj/mainform.o .obj/edititemform.o .obj/moc_mainform.o .obj/moc_edititemform.o -L/usr/share/qt3/lib -L/usr/X11R6/lib -L/usr/lib -lqt-mt -lXext -lX11 -lm
.obj/mainform.o(.text+0x3fd6): In function `MainForm::MainForm[not-in-charge](QWidget*, char const*, bool, unsigned)':
: undefined reference to `KLineEdit::KLineEdit[in-charge](QWidget*, char const*)'
.obj/mainform.o(.text+0x7166): In function `MainForm::MainForm[in-charge](QWidget*, char const*, bool, unsigned)':
: undefined reference to `KLineEdit::KLineEdit[in-charge](QWidget*, char const*)'
collect2: ld returned 1 exit status
make: *** [junto] Error 1
i have the -L/usr/lib option in the link command, and as far as i can tell, the KLineEdit definition should be in one of the following kdelibs4-dev files:
[foucault][macho ~]$ ls /usr/lib/libkdeui.*
/usr/lib/libkdeui.la /usr/lib/libkdeui.so.4
/usr/lib/libkdeui.so /usr/lib/libkdeui.so.4.2.0
but apparently g++ is not satisfied. i'm running from the testing branch of debian. if anyone can see what i'm missing, i'd love to be filled in.
thanks muchly,
macho
Reply to: