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

Auto-detection for each installed MSVC toolset version

    XMLWordPrintable

Details

    • Windows

    Description

      Qt Creator’s auto-detection for MSVC compilers only identifies the latest version of the toolset for each Visual Studio installation.

      For example, I have multiple Visual C++ toolset versions installed:

      • C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207
      • C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.16.27023
      • C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133

      However, Qt Creator only detects:

      • Visual Studio Professional 2022 17.14.36203.30

      And this compiler configuration is linked by default to the latest toolset version, 14.44.35207.
      If I want to use an older toolset, I must clone this auto-detected configuration and add an extra argument (e.g., -vcvars_ver=14.29.30133). This process can be confusing and inconvenient for users who need to work with different compiler versions.

       

      Suggestion:
      It would be helpful if Qt Creator created additional entries under Preferences → Kits → Compilers → Auto-detected for each installed MSVC toolset version.

      This would allow users to select older MSVC compilers directly, without needing to manually clone and modify the configuration.

      Attachments

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

        Activity

          People

            davschul David Schulz
            hitoshiito Hitoshi Ito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes