Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.8, 5.15.4, 6.2
-
None
Description
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.