qt-interest@trolltech.com
[Top] [All Lists]

Re: undefined reference to vtable...

Subject: Re: undefined reference to vtable...
From: Matthieu Brucher
Date: Tue, 01 Nov 2005 15:33:52 +0100

Hi,

That's not a Qt problem but a virtual function problem. Check out
virtual and inheritance in a C++ book.

But the problem only occurs in a Qt project(?) In all other cases it links
without problems. This convinces me that there are no unimplemented virtual
functions.

Still, how comes that qmap.h:281 refers to my class?

Your compiler is not perfect. What is said about files and lines at linking time is not always relevant. BUT the fact that vtable is not defined is a virtual function problem. Can you give us more ?

Matthieu

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>