一个QT编译问题解决(Cannot open include file: 'stddef.h': No such file or directory)

QT用MSVC编译的时候报错误Cannot open include file: 'stddef.h': No such file or directory
但是用MinGW就正常,想想最近对VS干了什么,记起对VS的一些组件进行了删除。
以为用win7系统win10 sdk可能没用就删了,结果QT用MSVC编译就报错了,看来VC编译会用到win10SDK,再装回win10SDK,QT编译就正常了。
总结:MSVC编译会用到win10sdk,对VS组件不熟悉还是不要乱修改的好。
【一个QT编译问题解决(Cannot open include file: 'stddef.h': No such file or directory)】一个QT编译问题解决(Cannot open include file: 'stddef.h': No such file or directory)
文章图片

    推荐阅读