QMAKE_MACOSX_DEPLOYMENT_TARGET ignored on Qt 5.8
-
We have QMAKE_MACOSX_DEPLOYMENT_TARGET in our project file, which always would be applied to macosx-version-min in the build for Mac. However, since updating to Qt 5.8, it has no effect. I know this because I can see macosx-version-min=10.9 despite setting QMAKE_MACOSX_DEPLOYMENT_TARGET to 10.11. Has anyone else seen this? I can't update our build server to 5.8 until this is resolved. Thanks!
-
Hi,
There seems to be a bug in 5.8.0 with that one however it also seems it has already been fixed at least when building the 5.8 branch from git. You might want to check the bug report system to see if there's something related.
-
Cool - I'll take a look. We need a reliable way to keep our build servers up to date so I hope whatever is on the git branch is officially released soon. Cheers!
-
Hi,
There seems to be a bug in 5.8.0 with that one however it also seems it has already been fixed at least when building the 5.8 branch from git. You might want to check the bug report system to see if there's something related.
-
Thanks for the link !
-
I can confirm this works:
as a workaround, they can put the variables into <top-level>/.qmake.conf