Unsolved Build issues with Qt Creator - Cannot open include file: 'stddef.h'
I am trying to run the Test run on sample widget in QT Creator after the installation is completed and see the below error when i try to build:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\include\cstddef:7: error: C1083: Cannot open include file: 'stddef.h': No such file or directory
I have installed QT 5.10.1 with Visual Studios2017 on Windows 7.
Does anyone faced the similar error?. Any help would be appreciated!.
aha_1980 Lifetime Qt Champion last edited by
@Yars have you checked if there is such a file in the include directory?
Yes. it is in there
JonB last edited by
Which file do you mean?
cstddefis looking for
stddef.h, and saying that file does not exist.
I see both cstddef and stddef.h in all the include directories. Is there any specific location i need to check at?. I am brand new to the QT so kind of figuring out how to make this work.