Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31110

Lacking arm64_arm option for MSVC compilers on WoA ARM64 hosts targeting 32-bit ARM platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 13.0.2
    • None
    • Surface Pro 9 5G with Windows 11 23H2
    • Windows

    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:

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            luicat Louis Niko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes