How to build Qt C++ application for M1 chip macbook from Intel chip macbook
-
Hi,
My existing C++ desktop application which is having x86_64 platform but this application is run only on Intel processor of macbook. Now I want to build my Qt application with arm64 which can run on M1 processor of macbook.
My system configuration as Qt version is,
macOS: BigSur
Qt: 5.12.3Please anyone have any idea for this, then please let me know.
Thanks in advance.
:) -
@Vishal-Ahir said in How to build Qt C++ application for M1 chip macbook from Intel chip macbook:
but this application is run only on Intel processor of macbook
It should also run just fine on M1 as Apple has a very good emulation for x86_64.
-
Thanks @jsulm for your reply,
But I need to build my Qt desktop application with ARM64 platform on Intel macbook.
And my application has two version one is for Intel processor and one which I need to build for M1 processor
Like Visual Code https://code.visualstudio.com/downloadPlease any help on this?
-
Hi,
You have to rebuild your Qt version on your M1 machine. You should also consider building universal binaries, they are heavier but you can distribute only one package which can run on both platforms.
-
@kyosold said in How to build Qt C++ application for M1 chip macbook from Intel chip macbook:
The virtual machine can be installed?
What virtual machine do you mean? What should run there?