Restore Q_ENUM for enumerations declared as QFlags
Q_FLAG(Es) registers the individual enumeration values with the
meta-type system, but not the enumeration type itself. This could break
using the enum type with the meta-type system, e.g.
QMetaEnum::fromType<E>
Amends 7e58401dc606a85f9f6c8d40e2e9ac78003f878f.
Pick-to: 6.11 6.10 6.8 6.5
Change-Id: Ic73ad6e33e6d3e2a043721f6015c5f21aef024ec
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
| commit | d02aefb8b3d7bda87858ba57bfab927350df2da4 |
| parent | 329078e3b60503e0dd5749c5038d6b5ae04930f9 |
| author | Ahmad Samir <a.samirh78@gmail.com> |
| committer | Ahmad Samir <a.samirh78@gmail.com> |
| commit time | Sat, 13 Dec 2025 15:43:16 +0200 |