summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.cpp10
-rw-r--r--src/corelib/global/qglobal.h6
2 files changed, 13 insertions, 3 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index b813afc..dde8ada 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1205,6 +1205,7 @@ bool qSharedBuild()
\value SV_SF_4 \e{This enum value is deprecated.}
\value SV_API_5_3 Symbian/S60 API version 5.3 release
\value SV_API_5_4 Symbian/S60 API version 5.4 release
+ \value SV_API_5_5 Symbian/S60 API version 5.5 release
\value SV_Unknown An unknown and currently unsupported platform
\sa S60Version, WinVersion, MacVersion
@@ -1225,6 +1226,7 @@ bool qSharedBuild()
\value SV_S60_5_2 Symbian^3 and Symbian Anna
\value SV_S60_5_3 Symbian/S60 API version 5.3 release
\value SV_S60_5_4 Symbian/S60 API version 5.4 release
+ \value SV_S60_5_5 Symbian/S60 API version 5.5 release
\value SV_S60_Unknown An unknown and currently unsupported platform
\omitvalue SV_S60_None
@@ -1821,9 +1823,12 @@ static void symbianInitVersions()
} else if (minor == 3) {
cachedS60Version = QSysInfo::SV_S60_5_3;
cachedSymbianVersion = QSysInfo::SV_API_5_3;
- } else if (minor >= 4) {
+ } else if (minor == 4) {
cachedS60Version = QSysInfo::SV_S60_5_4;
cachedSymbianVersion = QSysInfo::SV_API_5_4;
+ } else if (minor >= 5) {
+ cachedS60Version = QSysInfo::SV_S60_5_5;
+ cachedSymbianVersion = QSysInfo::SV_API_5_5;
}
}
}
@@ -1853,6 +1858,9 @@ static void symbianInitVersions()
# elif defined(S60_VERSION_5_4)
cachedS60Version = QSysInfo::SV_S60_5_4;
cachedSymbianVersion = QSysInfo::SV_API_5_4;
+# elif defined(S60_VERSION_5_5)
+ cachedS60Version = QSysInfo::SV_S60_5_5;
+ cachedSymbianVersion = QSysInfo::SV_API_5_5;
# endif
}
# endif
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index ed8f9eb..3cbb1c7 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1629,7 +1629,8 @@ public:
SV_SF_3 = 50,
SV_SF_4 = 60, // Deprecated
SV_API_5_3 = 70,
- SV_API_5_4 = 80
+ SV_API_5_4 = 80,
+ SV_API_5_5 = 90
};
static SymbianVersion symbianVersion();
enum S60Version {
@@ -1641,7 +1642,8 @@ public:
SV_S60_5_1 = SV_SF_2, // Deprecated
SV_S60_5_2 = SV_SF_3,
SV_S60_5_3 = SV_API_5_3,
- SV_S60_5_4 = SV_API_5_4
+ SV_S60_5_4 = SV_API_5_4,
+ SV_S60_5_5 = SV_API_5_5
};
static S60Version s60Version();
#endif