Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
-
25
-
Foundation PM Staging
Description
It is currently very cumbersome to use QMetaEnum when the "enum" is a QFlags or a C++11 scoped enum, because neither of these convert to integral types, which is what QMetaEnum uses.
Ideas range from simply a adding QFlags/scoped enum overloads to QMetaEnum, as well as creating a QTypedMetaEnum.
Discuss, implement, test and document
References:
Attachments
Issue Links
- relates to
-
QTBUG-74639 QMetaType::IsEnumeration for QFlags<T>
-
- Reported
-
-
QTBUG-73387 Add support for QFlags in QMetaObject & QMetaType
-
- Reported
-
-
QTBUG-27451 QMetaEnum only works with ints
-
- Closed
-