Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 13.0.2
-
Surface Pro 9 5G with Windows 11 23H2
Description
Right now the "arm" option does not correctly detect cl.exe, nor does it seem to clearly specify targeting ARM on a ARM64 host.
Switching to vcvarsarm64_arm.bat does not fix the issue – instead of the correct one "Hostarm64\arm\cl.exe", "Hostarm64\arm64\cl.exe" is always chosen for "%{Compiler:Executable:C}", which makes it unusable.
Theoretically one can go through manually configuring MSVC arm64_arm compilers similarly to the screenshot below, which is quite tedious, and also requires forcing CMAKE_CXX_COMPILER_WORKS to bypass some possibly false-positive validation steps from cmake: