[Qt-creator] Error building with GCCE: undefined reference to `typeinfo for QObject'
Sam Dutton
Sam.Dutton at bbc.co.uk
Mon Jul 13 13:07:50 CEST 2009
When building my project with GCCE release, I get the following error:
\S60\devices\S60_3rd_FP2_SDK_v1.1_2\EPOC32\BUILD\src\workspace\test\TEST
_0XED00BC34\GCCE\UREL\moc_error.o:(.rodata+0x58): undefined reference to
`typeinfo for QObject' test line 0 C/C++ Problem
Not sure what this means or why I'm getting it, other than the fact that
the Error class in the file is a subclass of QObject.
I've tried adding an include (and a forward class declaration) to
QObject in the file referred to, and running qmake again, but I still
get the error.
I also tried adding the %QTDIR%\lib to the LIB system variable, and
%QTDIR%\include to INCLUDE, and then restarting Carbide.
Building with WINSCW for the emulator works fine, with no errors.
Sam
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the Qt-creator-old
mailing list