Please file any issues as standalone bugs and link them to this issue.
The work can be roughly grouped into three areas, by increasing priority:
- Making sure x86_64 builds of Qt work when running via Rosetta (
- Making sure single architecture arm64 builds work and run fine
- Enabling universal builds of Qt, building and packaging x86_64 and arm64 together (
The last step is the one requiring the most work, as neither our qmake or CMake build systems are prepared for multi architecture builds. In the interim the user can build Qt twice, their app twice, and then lipo the application binaries into a universal app.
Note: The work for making Qt run well on macOS 11 (Big Sur) is tracked in
Building on the DTK should work like a normal Qt for macOS build.
Build Qt for macOS natively first, so that you have the host tools buildt in for example /build/qt/6.0/qtbase. Then in /build/qt/6.0-arm/qtbase