makeuniversal icon indicating copy to clipboard operation
makeuniversal copied to clipboard

Looks great - broader instructions?

Open ghutchis opened this issue 3 years ago • 1 comments

I definitely want to build Qt universal apps. I found your project, but I have some questions.

It sounds like you used Xcode 12.x to build x86_64 and arm64 separately and then used this to makeuniversal

Could you put a tiny bit more in the README?

Isn't it possible to use Cmake to build with CMAKE_OSX_ARCHITECTURES set?

Thanks - happy to know there are routes to get M1 binaries working.

ghutchis avatar Nov 20 '20 17:11 ghutchis

Hi,

I will add some more info.

Qt can build x86_64 and arm64 binaries, but does not handle the creation of FAT binaries, if you want a universal binary then you have to handle that step yourself. This is where this small tool comes in, you build the target archs and then process them through make universal which produces a universal binary from the 2 arch’s.

I have tested it fine on my DTK and have my app running native on both x86 and arm64 with a single binary.

fizzyade avatar Nov 20 '20 19:11 fizzyade