From be2c83db52a25f4cc58a5dc3687caf4e2d4cef81 Mon Sep 17 00:00:00 2001 From: kleuter Date: Tue, 23 Nov 2021 15:34:31 +0100 Subject: [PATCH] 5.15.7 - added macOS Monterey support (backport https://github.com/qt/qtbase/commit/b3dc0fec2bdc8ab03107f906a94850b1b94b53af) --- 5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.cpp | 4 ++++ 5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.h | 1 + 2 files changed, 5 insertions(+) diff --git a/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.cpp b/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.cpp index 1a76352..3d55732 100644 --- a/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.cpp +++ b/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.cpp @@ -470,6 +470,10 @@ const QOperatingSystemVersion QOperatingSystemVersion::MacOSBigSur = [] { return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 10, 16); }(); +const QOperatingSystemVersion QOperatingSystemVersion::MacOSMonterey = [] { + return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 12, 0); +}(); + /*! \variable QOperatingSystemVersion::AndroidJellyBean \brief a version corresponding to Android Jelly Bean (version 4.1, API level 16). diff --git a/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.h b/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.h index abd818a..69e5041 100644 --- a/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.h +++ b/5.15.7/qtbase/src/corelib/global/qoperatingsystemversion.h @@ -73,6 +73,7 @@ public: static const QOperatingSystemVersion MacOSMojave; static const QOperatingSystemVersion MacOSCatalina; static const QOperatingSystemVersion MacOSBigSur; + static const QOperatingSystemVersion MacOSMonterey; static const QOperatingSystemVersion AndroidJellyBean; static const QOperatingSystemVersion AndroidJellyBean_MR1;