Closed 53845714nF closed 2 months ago
I don't think Qt 5.15.2 is available in arm64 from the official distributions. I checked and 6.5.0 is retrieved by aqtinstall as a universal binary.
If you don't need ARM binaries you could pass -DCMAKE_OSX_ARCHITECTURES=x86_64
to cmake.
I don't think Qt 5.15.2 is available in arm64 from the official distributions. I checked and 6.5.0 is retrieved by aqtinstall as a universal binary.
So should I leave it at macos-13
with Qt5?
I also have another question of understanding: why are you looking in apt for packages for a macOS?
If you don't need ARM binaries you could pass
-DCMAKE_OSX_ARCHITECTURES=x86_64
to cmake.
As far I understand, the macos-latest
is always an arm64 machine. Or is it possible to start it as x86?
I think it helps me a lot.
I work on the Spix Project and this use your action.
I get the following warning:
ld: warning: ignoring file '/Users/runner/work/spix/Qt/5.15.2/clang_64/lib/QtCore.framework/Versions/5/QtCore': found architecture 'x86_64', required architecture 'arm64'
It seems that the runner is on arm64 and the action download the x86_64 version of qt. If I use
macos-13
it works. Is there any suggestion or workaround?