[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Hello. Problem linking kurlrequester
From: Jonas Widarsson <jonas.widarsson () home ! se>
Date: 2004-10-14 20:29:23
Message-ID: 200410142226.56412.jonas.widarsson () home ! se
[Download RAW message or body]
Hello.
My name is Jonas Widarsson.
I am playing with the simplest form of a kde application.
I started a project using the KDevelop template
"C++/KDE/Simple Designer Based KDE Application".
I have used Qt Designer to remove all widgets
in the form and only added a single KURLRequester instead. Then
I saved the Form and pressed the "run" icon.
The compiler does not complain but the linker says:
******************
/bin/sh ../libtool --silent --mode=link --tag=CXX 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 testar01 -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R \
/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib main.o testar01.o \
testar01widget.o testar01widgetbase.o -lkdeui testar01widgetbase.o(.text+0x9d): In \
function `testar01WidgetBase::testar01WidgetBase[not-in-charge](QWidget*, char \
const*, unsigned)':
/home/jonas/development/playground/testar01/debug/src/testar01widgetbase.cpp:31: \
undefined reference to `KURLRequester::KURLRequester[in-charge](QWidget*, char \
const*)'
******************
"undefined reference to `KURLRequester::KURLRequester[in-charge](QWidget*, char \
const*)'"
This error is displayed while processing the generated file
/home/jonas/development/playground/testar01/debug/src/testar01widgetbase.cpp
I am not too well experienced and have just started playing with these
tools provided, so bear with me. What is wrong?
Google, or the way I use google, doesn't help me.
My environment is a pentium4 laptop with:
KDE 3.3.0
KDevelop 3.1.0
Qt Designer 3.3.2
Qt 3.3.2
libtool - ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
gcc - g++ (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
kernel - 2.6.5-gentoo-r1
Thanks,
Jonas
--
tel: +46 271 121 42
tel: +46 271 152 00 (work)
gsm: +46 70 539 64 79
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic