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

Schimkowitsch Robert Robert.Schimkowitsch at andritz.com
Mon Sep 26 14:46:23 CEST 2011


Found it.
 
I had to add the line
Q_DECLARE_METATYPE(CCmn_UIUpdateTimer::EUiActivityMode)
 
as well as the Q_ENUMS line.
 
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?
 
 
Kind regards

Robert Schimkowitsch 


#####################################################################################
This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system.
Thank You.
  ANDRITZ HYDRO GmbH
  Rechtsform/ Legal form: Gesellschaft mit beschrankter Haftung / Corporation 
  Firmensitz/ Registered seat: Wien 
  Firmenbuchgericht/ Court of registry: Handelsgericht Wien 
  Firmenbuchnummer/ Company registration: FN 61833 g
  DVR: 0605077 
  UID-Nr.: ATU14756806
#####################################################################################

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110926/21aa659f/attachment.html 


More information about the Qt-interest-old mailing list