P3: Somewhat important
5.15.8, 5.15.4, 6.2
Enums registered in a Q_Namespace using Q_ENUM_NS do not function when they are properties of a gadget returned as a property of an object if the enum type is set to int8_t and not just plain enum.
In the attached example, i have created class Foo, Gadget Bar, and a TestEnum in TestNS namespace
Foo contains a Bar, which contains a TestEnum.
Getting the test enum directly through the namespace works, so does grabbing it from Foo, and grabbing it as an int from Bar, but grabbing it as an enum from BAR (MEMBER or READ) returns junk.
|For Gerrit Dashboard: QTBUG-99636|
|390287,3||WIP: Avoid messy casting in moc generated code||dev||qt/qtbase||Status: NEW||-2||0|