Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Solved] stddef.h no such file or directory
I installed Qt creator and then Qt library-mingw on Window system.
I tried to compile an example code in the Qt Creator but I got the error message.
Mabe 'stddef.h' is one of c++ headers.
I think that the Qt Creator is not connected to mingw.
What should be set or changed in Qt Creator option?
I tried to add INCLUDEPATH to Build environment variables in QtCreator but still not working.
[Eddy : fixed typos in title]
Welcome to the forum.
Can you tell us: How did you install Qt? Where did you get it from? OS?
Can you check you environment variables?
is PATH pointing to your mingw/bin directory?
Thank you so much.
After the mingw/bin directory path is added to PATH variable in Build Environment of QtCreator, it works now.
I'm glad it's working now.
Could you please edit your title of your first post and add [Solved] to it next time. I did it for you here to show how we like it. thanks.