Fixed Mac OS X deployment target.

(grafted from 8bd98d7d0a42ca97d7608b084b5f2ddbf228117e)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-10-16 12:47:47 +03:00
parent 29664e118a
commit 67d20696a7
2 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,7 @@ unix{
QMAKE_MAC_SDK = macosx QMAKE_MAC_SDK = macosx
# 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
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 6) { equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 6) {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
} else { } else {

View File

@ -204,6 +204,7 @@ unix{
QMAKE_MAC_SDK = macosx QMAKE_MAC_SDK = macosx
# 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
equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 6) { equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 6) {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
} else { } else {