Details
-
Type:
Bug
-
Status: Open
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.14.1
-
Fix Version/s: None
-
Component/s: Build tools: moc, QML: Declarative and Javascript Engine
-
Labels:None
-
Platform/s:
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.