Building Qt 5.15.11 static on macos for dual archs
-
Hi,
I can't find this information in any of the documentation. I'm trying to build a static 5.15.11 Qt with universal build support. What options do I have to give configure to make this happen? I tried passing it QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" but it still configured only for single-arch x86_64. I know for Qt 6.x, you can give it the -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" flag, so what's the equivalent for 5.15.9+?
-
For anybody else that might be running into the same issue as me;
It seems the QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" option DOES work. But when configuring qmake and going through checks, configure still prints "Checking for target architecture...x86_64". So this might be a small bug where configure doesn't print dual architecture.
-
Hi,
I can't find this information in any of the documentation. I'm trying to build a static 5.15.11 Qt with universal build support. What options do I have to give configure to make this happen? I tried passing it QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" but it still configured only for single-arch x86_64. I know for Qt 6.x, you can give it the -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" flag, so what's the equivalent for 5.15.9+?