Cannot open include file stddef h No such file or directory: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Marked as outdated)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Outdated|reason=Qt 4, VS 2008}}
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}


Line 6: Line 7:
[[Category:HowTo]]
[[Category:HowTo]]
[[Category:Tutorial]]
[[Category:Tutorial]]
h1. C1083: Cannot open include file: ‘stddef.h’: No such file or directory
= 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]]


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!
 
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:
If you use the default installation you can add '''MinGW''' very easily:

Latest revision as of 21:23, 24 March 2016

IMPORTANT: The content of this page is outdated. Reason: Qt 4, VS 2008
If you have checked or updated this page and found the content to be suitable, please remove this notice.
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

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