Cannot open include file stddef h No such file or directory

From Qt Wiki
Revision as of 14:19, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

C1083: Cannot open include file: ‘stddef.h’: No such file or directory

It is not enough having Visual Studio 2008 Visual C++ (compiler) installed on your developer machine. You’ll need the Windows platform SDK too. But there is an easier way to compile a Qt application under Windows: MinGW

The standard installation of “Qt SDK” does not contain MinGW automatically! Use the custom installation mode instead!

If you use the default installation you can add MinGW very easily:

  1. Start Qt Creator
  2. Menu: Help | Start Updater
  3. Package manager (Maintain Qt SDK)
  4. In the tree view : Qt SDK / Development Tools / Qt 4.7.4 / Desktop Qt 4.7.4 – MinGW

Categories: