Mac refresh the mac build to deploy app and dmg#1297
Conversation
Appdmg need to be installed
Create a build with DMG and app Update the architecture to allow x86_64 arm64
| CONFIG += x86_64 arm64 | ||
| CONFIG -= x86 | ||
| QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7 |
There was a problem hiding this comment.
I am not sure but I think its worth a test. Please remove the 2 CONFIG lines and use QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64 instead and use QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14 I think mojave is old enough.
Perhaps this allows building a Universal binary
There was a problem hiding this comment.
Yes i was on it but look like i should to that
CONFIG -= x86
CONFIG -= x86_64
CONFIG += x86 arm64
There was a problem hiding this comment.
Let me find an associated mac, I will also try to create different build and we can all test
There was a problem hiding this comment.
Increasing the MACOSX_DEPLOYMENT_TARGET doesn't automatically enables Universal binary
that is a separate option
more than that, when building an arm64 or a universal binary - the niminum supported/deployement target is maxed to at least 10.14 automatically and w/o a warning, but only the the arm64 part of the binrary
update the repo with the needed information related to the creation of an app Signed to be deployed on mac
still under draft for now