Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
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.