Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
4bd703450 (dev), da4a6cf78 (dev), a017ee967 (dev), 7971dd213 (6.8), 0d26dc672 (dev), f85a17abe (dev), 21f04d5d2 (dev), 2effeb25c (dev), d41b87e06 (dev), 57a6e671d (dev), 094f7cab5 (dev)
Description
First caught in https://codereview.qt-project.org/c/qt/qtbase/+/35764, with plans to introduce support in 5.1. Then we removed indications of that plan in https://codereview.qt-project.org/c/qt/qtbase/+/54720 (not sure why, though).
Unless we need a guarantee that QFlags<T> is the same size for all T, using underlying_type<T> instead of int for sizeof(T) > sizeof(int) seems like an easy way out.
Attachments
Issue Links
- is duplicated by
-
QTBUG-62507 Add QFlags64
- Closed
-
QTBUG-53178 QFlags/QFlag: Support 64bit Int
- Closed
- resulted in
-
QTBUG-129804 dumpcpp generates invalid code after the moc updates
- Closed
-
QTBUG-129570 moc can no longer create meta objects for private classes (that aren't Q_OBJECT themselves)
- Closed