PDA

View Full Version : windows.h : no such file or directory...



stef13013
5th January 2013, 00:38
Hello,

I'm running a simple program with Qt5, QtCreator under windows 7+msvc2010 with SDK7 installed
I have to call in this program specific windows functions.

If I try to compile it, I always got : ...error: C1083: Cannot open include file: 'Windows.h': No such file or directory...

Of course, I set "normally" the dev. kit in QtCreator (Microsoft Visual C++ Compiler 10.0), and I try to run vcvars32.bat before.
Still not working !

Another point : why while compiling, I don't see any include (-I...) about windows sdk !?

Where is my mistake ?

Thanks