[Qt-interest] how to resolve this moc linker error

Malyushytsky, Alex alex at wai.com
Mon Jul 19 23:36:55 CEST 2010


First thing I would check if moc are generated/build with the same compiler version (32 bit, 64 bit , etc).

Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Matthias Pospiech
Sent: Monday, July 19, 2010 2:14 PM
To: Sean Harmer
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] how to resolve this moc linker error

Sean Harmer schrieb:
> Did you forget to include the Q_OBJECT macro in your header file?
>
No every class included has a QOOJECT macro. The funniest thing is, that
mingw does compile the project,
but msvc throws this error.

Nevertheless this is a crucial problem to me.

Matthias

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

“This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”

“Please consider our environment before printing this email.”




More information about the Qt-interest-old mailing list