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

(grafted from 797556e74b8fe3317061958b9bc498fe60d67b01)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-11 09:38:43 +02:00
parent e891219528
commit f35bdb6d75

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 {
@ -54,6 +58,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)
# Copy of answer: # Copy of answer: