problem with KDE project / QT designer
Jens Dagerbo
jens.dagerbo at swipnet.se
Mon Apr 3 01:39:53 BST 2006
In order to use KURLRequester, you need to link 'libkio'. Just add "-lkio" to
the target (using the automake manager).
// jens
On Monday 03 April 2006 00:27, Tim Harper wrote:
> I created a new Simple Designer based KDE Application, and added a widget
> to the form of KUrlRequester. When I compile the project, I get this
> error:
>
> -----------------
>
> /usr/lib/qt-3.3/include/private/qucomextra_p.h:87: warning: ‘struct
> QUType_varptr’ has virtual functions but non-virtual destructor
>
> /bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -g3 -fno-inline -O0 -g3 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o
> anagram -R /usr/lib
> -R /usr/lib/qt-3.3/lib -R /usr/lib -L/usr/lib -L/usr/lib/qt-3.3/lib main.o
> anagram.o anagramwidget.o AnagramCrunch.o anagramwidgetbase.o -lkdeui
>
> anagramwidgetbase.o: In function
> `anagramWidgetBase':/home/tim/projects/anagram/debug/src/anagramwidgetbase.
>cpp:69: undefined reference to `KURLRequester::KURLRequester(QWidget*, char
> const*)'
>
> :/home/tim/projects/anagram/
>
> debug/src/anagramwidgetbase.cpp:69: undefined reference to
> `KURLRequester::KURLRequester(QWidget*, char const*)'
>
> --------------
>
> I can't figure out what I've done well. It seems that Libtool isn't
> properly finding this dependence. What do I need to do to fix this?
>
> Thanks, Tim
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> your-email-address
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list