utils: add array-based EnumMap
We sometimes want to use arrays as enum-based dictionaries. Moving the
functionality out of QPlatformMediaPlayer to make it reusable.
Pick-to: 6.12
Change-Id: I2b0ff67b2f3185131016d40b5a28868321d52c31
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
| commit | 99eda9976d1a12892a85292683bb10e112b1bb72 |
| parent | 131c65fbcbfe03f75d7161562256d1fdedda68f4 |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Tue, 6 Oct 2026 11:57:19 +0000 |