On Monday 20 January 2025 02:18:34 Pacific Standard Time Schimkowitsch Robert 
wrote:
> As a user of Qt, I really hate this restriction.

It's a parsing problem. moc does not parse what it doesn't have to and thus 
doesn't remember enumeration values that were outside the class.

> But what about Q_ENUM_NS and Q_FLAG_NS?

Those work, but they show up in the namespace's meta object and you must have 
the Q_NAMESPACE macro.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to