Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 12.0.0
-
None
-
Windows 11
Visual Studio 2022
Windows Dev Kit 2023 (Snapdragon ARM64)
-
-
05d9e50af (13.0)
Description
The WOA64 (Windows on ARM) LLVM compiler is incorrectly detected as "LLVM 32 bit based on MSVC2022" (x86-windows-msvc2022-pe-32bit) instead of aarch64 by Qt Creator. This means LLVM cannot be used for the ARM64 Qt toolchain
Steps to reproduce:
- Install WOA64 version of LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-17.0.6/LLVM-17.0.6-woa64.exe
- Open Qt Creator and check Preferences > Kits > Compilers.
- Expected: list contains an entry "LLVM WOA64 based on MSVC2022" or similar, but actually contains an entry "LLVM 32 bit based on MSVC2022" for "C:\Program Files\LLVM\bin\clang-cl.exe".
- Select "LLVM 32 bit based on MSVC2022" as C/C++ compiler for "Desktop Qt 6.6.1 MSVC2019 ARM64" kit
- Error (see attached screenshot): The compiler "LLVM 32 bit based on MSVC2022" (x86-windows-msvc2022-pe-32bit) cannot produce code for the Qt version "Qt 6.6.1 MSVC2019 ARM64" (arm-windows-msvc2019-pe-64bit).
Output from clang-cl.exe --version:
clang version 17.0.6 Target: aarch64-pc-windows-msvc Thread model: posix InstalledDir: C:\Program Files\LLVM\bin