I can’t build project in Visual Studio 2022
Hi,
I can’t build the project even when I just created it.
I did these steps:
I install Qt Creator and Designer, installed Qt extensions for Visual Studio 2022, added the version from the creator (6.8.0) and just created a new Widget Application inside VS2022.
When I build I get this error:
Qt/MSBuild: 3.3.0.13
Reading Qt configuration (C:/Qt/6.8.0/mingw_64/bin/qmake)
QtWidgetsApplication2.vcxproj : error : ERROR running qmake: "C:/Qt/6.8.0/mingw_64/bin/qmake" -tp vc -early "CONFIG -= debug release debug_and_release" "CONFIG += debug warn_off" qtvars.pro
QtWidgetsApplication2.vcxproj : error : qmake: (C:/Qt/6.8.0/mingw_64/bin/qmake)
QtWidgetsApplication2.vcxproj : error : qmake: $PWD=C:\Users\tomma\source\repos\QtWidgetsApplication2\QtWidget.3FC3C3D6\x64\Debug\qt\qmake
QtWidgetsApplication2.vcxproj : error : qmake: Project ERROR: Cannot run compiler 'g++'. Output:
QtWidgetsApplication2.vcxproj : error : qmake: ===================
QtWidgetsApplication2.vcxproj : error : qmake: ===================
QtWidgetsApplication2.vcxproj : error : qmake: Maybe you forgot to setup the environment?
QtWidgetsApplication2.vcxproj : error : qmake: Error creating .vcxproj file
Read more here: Source link
