[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Very strange linking problem
From: Waldo Bastian <bastian () kde ! org>
Date: 2003-07-16 9:18:06
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 16 July 2003 11:08, Giuseppe Torelli wrote:
> Hi,
>
> I have the following code:
[Snip]
> void socketConnected()
> {
> printf ("Connected !\n");
> }
[Snip]
> Would someone explain me why I get:
[Snip]
> getaddress.moc.o(.text+0x1ad): In function `GetAddress::qt_invoke(int,
> QUObject*)': undefined reference to `GetAddress::socketConnected()'
You forgot to add GetAddress:: in front of socketConnected()
Same for the other slots. They are all part of the class.
Cheers,
Waldo
- --
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/FRhON4pvrENfboIRAsR5AKCmUGSMWySdPHeY70lF4iEyxmJGgQCfXBYp
F4zxt6/9nLNF2frRAJ9dktM=
=+mLe
-----END PGP SIGNATURE-----
>> 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