diff --git a/5.15.9/qtbase/src/corelib/global/qoperatingsystemversion.cpp b/5.15.9/qtbase/src/corelib/global/qoperatingsystemversion.cpp index 1a76352..3d55732 100644 --- a/5.15.9/qtbase/src/corelib/global/qoperatingsystemversion.cpp +++ b/5.15.9/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.9/qtbase/src/corelib/global/qoperatingsystemversion.h b/5.15.9/qtbase/src/corelib/global/qoperatingsystemversion.h index abd818a..69e5041 100644 --- a/5.15.9/qtbase/src/corelib/global/qoperatingsystemversion.h +++ b/5.15.9/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;