Cannot open include file :'stddef.h' No such file or directory found error when creating a sample Qt application
16,277
This error message happened with me when I tried to compile for Windows with the VS2008 version of Qt, but Visual C++ 2008 was in fact not installed to my computer. (VS2010 was, but that didn't matter.)
I have the following ideas for you:
- Try installing Visual C++ 2008
or - Try using MinGW instead of VS2008
The Qt simulator itself is not of much use though, so don't feel bad if you don't manage to make it work. Running your application on the target device itself is the best, and for debugging purposes, you can also compile your stuff for desktop OSes.
Author by
BreakHead
Updated on June 05, 2022Comments
-
BreakHead over 1 year
stddef.h file is there in installed Nokia Qt SDK include folder, but still I am getting compile error on running Qt Simulator. Any ideas?
Thanks in advance!