Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4.0
-
None
-
Windows 11 Arm64 hardware
Visual studio 2022 (arm64)
Specifically Visual Studio 2022 (ARM 64-bit) Preview Version 17.4.0 Preview 5.0
Description
I'm raising this as an issue as I don't see support for this platform combination appearing yet on any roadmaps. Building qt on windows arm64 with VS2022 does not appear to be officially supported.
We need to be able to build on this platform and target both native Arm64 and Intel x64.
For users running Windows on Arm hardware or in a Win 11 (Arm) VM on Apple silicon and using Visual Studio 2022 (Arm64) it would appear that this is currently not a supported build platform.
It is of course possible on Intel hardware to cross compile for Arm64 (but only using VS2019) but officially this seems only to be supported on Intel hardware.
Running VS2019 (x64) on Arm hardware is of course just about possible but it has some serious drawbacks including inability to debug and of course poor performance.
VS2022 (Arm 64-bit) can only use an extension built for that architecture and consequently the Qt Visual Studio tools which are x64 cannot be used. See QTVSADDINBUG-1055
Clearly the version of Visual studio mentioned here is a preview version but we can expect a full release to follow.
Users of Mac Studio M1 and Surface Pro X are therefore currently being left in the lurch.