Release Qt 5.12 brings new requirements for minimal Mac OS X version.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2018-12-11 09:38:43 +02:00
parent b970f056d9
commit 2c2d04191f

View File

@ -28,6 +28,10 @@ win32{
macx{ macx{
# Check which minimal OSX version supports current Qt version # Check which minimal OSX version supports current Qt version
# See page https://doc.qt.io/qt-5/supported-platforms-and-configurations.html # See page https://doc.qt.io/qt-5/supported-platforms-and-configurations.html
# For older versions https://doc.qt.io/qt-5.11/supported-platforms-and-configurations.html
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 11) {# Qt 5.12
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
} else {
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 10) {# Qt 5.11 equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 10) {# Qt 5.11
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
} else { } else {
@ -53,6 +57,7 @@ macx{
} }
} }
} }
}
} }
# See question on StackOwerflow "QSslSocket error when SSL is NOT used" (http://stackoverflow.com/a/31277055/3045403) # See question on StackOwerflow "QSslSocket error when SSL is NOT used" (http://stackoverflow.com/a/31277055/3045403)