Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks great - broader instructions? #1

Open
ghutchis opened this issue Nov 20, 2020 · 1 comment
Open

Looks great - broader instructions? #1

ghutchis opened this issue Nov 20, 2020 · 1 comment

Comments

@ghutchis
Copy link

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.

@fizzyade
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants