From ad25c89ac4d9d5819d4d7395ff80dafe7fca3641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 21 Nov 2016 01:30:39 +0100 Subject: NOISSUE ifdef out unknown Apple system versions in analytics --- libraries/ganalytics/src/sys_apple.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libraries') diff --git a/libraries/ganalytics/src/sys_apple.cpp b/libraries/ganalytics/src/sys_apple.cpp index cfaea839..c648970e 100644 --- a/libraries/ganalytics/src/sys_apple.cpp +++ b/libraries/ganalytics/src/sys_apple.cpp @@ -42,9 +42,11 @@ QString Sys::getSystemInfo() case QSysInfo::MV_10_10: os = "Macintosh; Mac OS 10.10"; break; +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) case QSysInfo::MV_10_11: os = "Macintosh; Mac OS 10.11"; break; +#endif #if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)) case QSysInfo::MV_10_12: os = "Macintosh; Mac OS 10.12"; @@ -74,6 +76,7 @@ QString Sys::getSystemInfo() case QSysInfo::MV_IOS_8_0: os = "iPhone; iOS 8.0"; break; +#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) case QSysInfo::MV_IOS_8_1: os = "iPhone; iOS 8.1"; break; @@ -89,6 +92,7 @@ QString Sys::getSystemInfo() case QSysInfo::MV_IOS_9_0: os = "iPhone; iOS 9.0"; break; +#endif #if (QT_VERSION >= QT_VERSION_CHECK(5, 8, 0)) case QSysInfo::MV_IOS_9_1: os = "iPhone; iOS 9.1"; -- cgit v1.2.3