qt无法打开包括文件: “corecrt.h”: No such file or directory”

问题描述:

win7系统安装了win10kits后出现:“D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\crtdefs.h:10: error: C1083: 无法打开包括文件: “corecrt.h”: No such file or directory”

解决方法:

在.pro中增加      

	INCLUDEPATH += "C:/Program Files (x86)/Windows Kits/10/Include/10.0.10240.0/ucrt"
	LIBS += -L"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.10240.0/ucrt/x64"
参考:

https://bugreports.qt.io/browse/QTBUG-50191

你可能感兴趣的:(QT)