error message-> undefined reference to 'xxx::QPaintDevice virtual table'

Jasper V. Ferrer japee at excellence
Sat Dec 29 23:22:39 GMT 2001


hi,

try to run distclean, autoconf then configure.

hth

> Dear All,
>
> I often get following error messages in KDevelop 2.0 (SuSE 7.3):
>
> -->       undefined reference to 'Fudel::QPaintDevice virtual table'
> -->       undefined reference to 'Fudel virtual table'
>
> for the Fudel constructor AND for the Fudel destructor.
>
> Fudel is a public-derived class of a, with Qt-Designer created class.
>
> This error can be caused by a Uppercase in the class name (-> FuDel)
> or in a label (-> TextLabel), but sometimes I can't find the cause!
>
> The error disappears when I remove Q_OBJECT in fudel.cpp but,
> of course, in this case I can't use the implemented SLOTS!!
>
> How can I completely avoid this error?
>
> Many thanks!
>
> Best regards,
>
> f.delplancke.

-- 
/**
 * fate it seems, is not without any sense of irony...
 *
 * - Morpheus
 */

-
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