Re: [Development] Changed enum property behaviour in Qt v6.8

2024-10-05 Thread Thiago Macieira
On Saturday 5 October 2024 10:16:49 GMT-7 Phil Thompson via Development wrote: > Looking at the QMetaObjectBuilder source I can't see where the QMetaType > passed to setMetaType() is actually used. As far as I can tell the enum > meta-types should be stored immediately after the property meta-types

Re: [Development] Changed enum property behaviour in Qt v6.8

2024-10-05 Thread Phil Thompson via Development
Hi, Thanks for the hints - almost everything is now working (and you can ignore my original issue about changed behaviour). The remaining problem is that if I query the generated meta-object for the QMetaEnum then its QMetaType is always invalid. Looking at the QMetaObjectBuilder source I c

Re: [Development] Changed enum property behaviour in Qt v6.8

2024-10-05 Thread Phil Thompson via Development
Thanks - that was extremely helpful. On 05/10/2024 01:50, Thiago Macieira wrote: On Friday 4 October 2024 07:42:39 GMT-7 Phil Thompson via Development wrote: Understood - but there seems to be no obvious way to dynamically create and register a valid QMetaType. What do you mean by a dynamic