diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index dcaaa14415..435d2c76f3 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -326,8 +326,12 @@ static QString getOperatingSystem() return QString::fromLatin1("Mac OS X 10.9"); case QSysInfo::MV_10_10: return QString::fromLatin1("Mac OS X 10.10"); +#endif +#if QT_VERSION >= 0x050500 case QSysInfo::MV_10_11: return QString::fromLatin1("Mac OS X 10.11"); +#endif +#if QT_VERSION >= 0x050600 case QSysInfo::MV_10_12: return QString::fromLatin1("Mac OS X 10.12"); #endif