Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
stddef.h No such file or directory
Kakugen last edited by
I got to remove and re-intall QtCreator last day because it stopped to auto-detect the windows kit.
After the reinstall, all my project have the same problem : "C1083 stddef.h No such file or directory"
I know that it come beacause bad association of version, so :
- I installed MSVC 2017 64-bits (like my pc) in Qt 5.12.3
- I installed the last version of Visual Studio 2017
- Project created : Qt application with widget with the kit "Deskop Qt 5.12.3 MSVC2017 64 bit" (without any modification, I don't know what modify)
- I have the last windows kit
I hope you can help me
Thanks for read (and sorry for my bad english)
"C1083 stddef.h N
Did you also installed the win 10 sdk ?
Else it must be something wrong with the kits.
Kakugen last edited by Kakugen
To be sure, I installed again the win 10 sdk. I followed the last triks said in the links, I add :
INCLUDEPATH += "C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt" LIBS += -L"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.18362.0\ucrt\x86"
to my .pro, then the error message change :
"LNK1104 impossible to open the file 'shell32.lib' "
I cheked in the folder of .lib, and this file is really absent. I think I missed something
By advance, thanks for your help
EDIT : I tested my VS2017, it's all down too, I will re-install it before trying to fix my Qt (but VS2019 still work)
EDIt 2 : VS2017 fixed, just needed to set the win SDK in option, and build tools (but the SDK seems work well with VS)