diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-07-28 16:55:19 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-07-29 21:23:39 +0200 |
| commit | 57ada89c04d4987f97a6cf90dfa265a5082f8be0 (patch) | |
| tree | bbac6e819976da14f6a948a31495f4d2ca868c82 /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | 4e246d74fe79a00ba33c2c47ca38f2568877764a (diff) | |
Define macOS QOperatingSystemVersion constants using only major version
Otherwise comparisons of current > QOperatingSystemVersion::MacOSSonoma
will trigger for 14.1 and above, instead of 15 and up. The expectation
is that the constant represents the major version.
[ChangeLog][macOS] QOperatingSystemVersion constants for macOS 11
and up are now represented with their major version only, and minor
and patch versions unspecified, as documented.
Task-number: QTBUG-107907
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I62dbac54f6b37b5797459c30c326706341b403a9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
