Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.1
-
None
-
-
e7cb3cb04 (dev)
Description
When working with enum of custom size, the qt signal / slot system seems not to be able to convert it correctly to *int* type.
This bug only seems to appear when dealing with enum that are less than 4 bytes.
I attached a sample project that register a simple C++ class containing an *std::uint16_t* enum. The Qml code will not receive undefined value, but rather random values.
Attachments
Issue Links
- relates to
-
QTBUG-112180 Properly support enums with underlying type != int
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-84055 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
466708,9 | QMetaType: Provide underlyingType for enums | dev | qt/qtbase | Status: MERGED | +2 | 0 |