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

2024-10-03 Thread Phil Thompson via Development
On 03/10/2024 16:31, Volker Hilsheimer wrote: On 3 Oct 2024, at 17:07, Phil Thompson via Development wrote: On 03/10/2024 15:44, Thiago Macieira wrote: On Thursday 3 October 2024 05:06:08 GMT-7 Phil Thompson via Development wrote: Yes, that's the change - commenting out the new test fixes the

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

2024-10-03 Thread Volker Hilsheimer via Development
> On 3 Oct 2024, at 17:07, Phil Thompson via Development > wrote: > > On 03/10/2024 15:44, Thiago Macieira wrote: >> On Thursday 3 October 2024 05:06:08 GMT-7 Phil Thompson via Development >> wrote: >>> Yes, that's the change - commenting out the new test fixes the problem. >>> I am dynamica

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

2024-10-03 Thread Phil Thompson via Development
On 03/10/2024 15:44, Thiago Macieira wrote: On Thursday 3 October 2024 05:06:08 GMT-7 Phil Thompson via Development wrote: Yes, that's the change - commenting out the new test fixes the problem. I am dynamically building the meta-object. You don't really build an enum, you just provide a descr

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

2024-10-03 Thread Thiago Macieira
On Thursday 3 October 2024 05:06:08 GMT-7 Phil Thompson via Development wrote: > Yes, that's the change - commenting out the new test fixes the problem. > > I am dynamically building the meta-object. You don't really build an > enum, you just provide a description of it to the meta-object. It woul

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

2024-10-03 Thread Phil Thompson via Development
Yes, that's the change - commenting out the new test fixes the problem. I am dynamically building the meta-object. You don't really build an enum, you just provide a description of it to the meta-object. It would be nice to be able to register an enum with the meta-type system dynamically. P

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

2024-10-03 Thread Mårten Nordheim via Development
Hello! Do you mean this change? https://codereview.qt-project.org/c/qt/qtbase/+/559265 If so, my bad! My motivation is described in the commit, but basically QtProtobuf is quite heavy on QMetaProperty usage, and trying to resolve the 'menum' was quite a bottleneck for properties that were not k

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

2024-10-03 Thread Phil Thompson via Development
Hi, Prior to Qt v6.8 it was possible to define a meta-object property with an enum type where the enum was *not* registered with Q_ENUM and the result of QMetaProperty::isEnumType() would be true. With v6.8 isEnumType() will return false. The change is the extra test on the meta-type in the

Re: [Development] Thread / Process Quality of Service APIs in Qt

2024-10-03 Thread Mårten Nordheim via Development
I have updated the patch here to add some minimal API to QThread: https://codereview.qt-project.org/c/qt/qtbase/+/593378 Should also do QThreadPool when I think about it. Please give feedback, thanks, Mårten From: Tor Arne Vestbø Sent: fredag 27. september 2024 12:54 To: Mårten Nordheim Cc: Vo