5.5.14 QOperatingSystemVersion Monterey & Ventura support

This commit is contained in:
kleuter 2023-07-11 16:22:00 +02:00
parent 81c482db8c
commit 617e91d13a
2 changed files with 10 additions and 0 deletions

View File

@ -470,6 +470,14 @@ const QOperatingSystemVersion QOperatingSystemVersion::MacOSBigSur = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 10, 16);
}();
const QOperatingSystemVersion QOperatingSystemVersion::MacOSMonterey = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 12, 0);
}();
const QOperatingSystemVersion QOperatingSystemVersion::MacOSVentura = [] {
return QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 13, 0);
}();
/*!
\variable QOperatingSystemVersion::AndroidJellyBean
\brief a version corresponding to Android Jelly Bean (version 4.1, API level 16).

View File

@ -73,6 +73,8 @@ public:
static const QOperatingSystemVersion MacOSMojave;
static const QOperatingSystemVersion MacOSCatalina;
static const QOperatingSystemVersion MacOSBigSur;
static const QOperatingSystemVersion MacOSMonterey;
static const QOperatingSystemVersion MacOSVentura;
static const QOperatingSystemVersion AndroidJellyBean;
static const QOperatingSystemVersion AndroidJellyBean_MR1;