#5699 Add deploy target to GUI configure

This commit is contained in:
Jerry (Xinyu Hou) 2016-11-02 11:55:39 +00:00
parent 340ee43d90
commit 5cccac360c

View File

@ -509,8 +509,8 @@ class InternalCommands:
sdkDir = self.getMacSdkDir() sdkDir = self.getMacSdkDir()
shortForm = "macosx" + self.macSdk shortForm = "macosx" + self.macSdk
version = str(major) + "." + str(minor) version = str(major) + "." + str(minor)
qmake_cmd_string += " QMAKE_MACOSX_DEPLOYMENT_TARGET=" + version qmake_cmd_string += " QMAKE_MACOSX_DEPLOYMENT_TARGET=" + self.macDeploy
(qMajor, qMinor, qRev) = self.getQmakeVersion() (qMajor, qMinor, qRev) = self.getQmakeVersion()
if qMajor <= 4: if qMajor <= 4: