QFlag, a thin wrapper around an int, is a helper class used for QFlags.
It should not be used in applications at all.
(https://doc.qt.io/qt-6/qflag.html#details)

If you have specific questions / issues porting Krita to Qt 6, feel free to use 
https://forum.qt.io, submit a bugreport or ask here.
A general porting guide is can be found here: 
https://doc.qt.io/qt-6/portingguide.html
Please do not use this mailing list for general, unspecific complaints.
Porting to Qt 6 | Qt 6.7<https://doc.qt.io/qt-6/portingguide.html>
Guide for porting Qt 5 applications to Qt 6.
doc.qt.io

________________________________
Von: Development <development-boun...@qt-project.org> im Auftrag von Halla 
Rempt <b...@valdyas.org>
Gesendet: Donnerstag, 19. September 2024 10:11
An: development@qt-project.org <development@qt-project.org>
Betreff: Re: [Development] Why does QFlag exist? (Not QFlags)

On dinsdag 10 september 2024 19:33:32 CEST Thiago Macieira wrote:

> Is this supported? I didn't know about it until yesterday. I doubt anyone is
> using it, though it's possible some code carried over from Qt 3 was left
> unmodified like that.

Who knows whether anyone is using it? There are zillions of projects using Qt 
out in the world, but the people developing Qt keep assuming that "using Qt" 
means using Qt inside Qt, as if the entire platform solely exists for building 
Qt on top of it. Like when the OpenGL QtPainter class was treated like a failed 
experiment for making QWidgets paint faster, even though it was public API and 
used in the real world.

I'm currently porting my Qt-based project, Krita, to Qt 6 and it's a huge, 
huge, huge pain. I'm wasting months and months that could have been spent on 
improving my application on submitting to useless clean-ups that nobody seems 
to have thought were an imposition. I've been through Qt1..2..3..4..5 and now 
going through 6.

Halla



--
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to