Moc‘ing xxx.h... The system cannot find the path specified.

1>Moc'ing xxx.h...
1>The system cannot find the path specified.
1>Uic'ing xxx.ui...
1>The system cannot find the path specified.
1>Rcc'ing xxx.qrc...
1>The system cannot find the path specified.

xxx.vcxproj.user : 

        <QTDIR>C:\Qt\6.5.2\msvc2019_64</QTDIR>

 #error:  "Qt requires a C++17 compiler, and a suitable value for __cplusplus. On MSVC, you must pas

Configuration Properties -> General -> C++ Language Standard :ISO C++20 Standard (/std:c++20)

Configuration Properties -> C/C++ -> Command Line -> Additional Options:

/Zc:__cplusplus 

猜你喜欢

转载自blog.csdn.net/durongze/article/details/132208437