qt:error: C1083: Cannot open include file: ‘type_traits‘: No such file or directory

Qt5.15.2 + MSVC2019编译Qt项目报错如下

error: C1083: Cannot open include file: ‘type_traits’: No such file or directory

解决办法——重新配置一下构建套件

操作步骤:
项目->管理构建套件
在这里插入图片描述
配置成这样,重新编译就好了

猜你喜欢

转载自blog.csdn.net/qq_43570115/article/details/128502856