c++qtqt-creatorvisual-studio-2022

Qt can't detect MSVC compiler with studio 2022


i am facing same problem, can any one assist please ?

simmilar to previously asked question : Qt can't detect MSVC compiler.

visual studio 2022 installed. and below is cmake version -

C:\Users\admin\source\repos>cmake.exe --version cmake version 3.27.7 CMake suite maintained and supported by Kitware (kitware.com/cmake).

I am not able to figure it out why not able to detect compiler.

below are my screenshot :

enter image description here

enter image description here

enter image description here

enter image description here


Solution

  • You must select the required compilation environment in the installer:

    Screenshot of installer selection

    In Qt Creator, It seems that only MSVC2019 is supported for Qt 6, MSVC2015-MSVC2019 for Qt 5.

    Official online installer