[Qt-interest] Re : Enumerations: 'qt_metatype_id' is not a memberof ...

Thiago Macieira thiago at kde.org
Mon Sep 26 15:06:27 CEST 2011


On Monday, 26 de September de 2011 14:46:23 Schimkowitsch Robert wrote:
> I didn't read that one from the docs. For Q_ENUMS it says:
> "This macro registers one or several enum types to the meta-object
> system."
>  
> So why should I have to add the Q_DECLARE_METATYPE as well?

Meta-object != meta-type

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110926/2d8b5abb/attachment.bin 


More information about the Qt-interest-old mailing list