[Development] Why does QFlag exist? (Not QFlags)

Thiago Macieira thiago.macieira at intel.com
Tue Sep 10 19:37:43 CEST 2024


On Tuesday 10 September 2024 09:55:24 GMT-7 Thiago Macieira wrote:
> 1) I will fix moc to *not* manipulate int for property enum types, which
> means it will not use QFlag at all

https://codereview.qt-project.org/c/qt/qtbase/+/589897

If we need to keep compatibility with integer getters and setters, then I'll 
add a unit test and will need to add a helper to do the conversions, possibly 
with a deprecation warning so we can get rid of this behaviour in Qt 7.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Platform & System Engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5152 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20240910/01d0f4a6/attachment-0001.bin>


More information about the Development mailing list