简体   繁体   中英

Simple GUI application crashes in Qt 5

After I downloaded and installed Qt 5. I opened Qt creator 2.6.1 and created a new simple GUI application. But when I try to run it, I get the following error:

C:\\Qt\\Qt5.0.0\\5.0.0\\msvc2010\\include\\QtCore\\qglobal.h:46: error: C1083: Cannot open include file: 'stddef.h': No such file or directory

What is the problem and how can I solve it ?

You need to install the Windows platform SDK.

By the way: you used the wrong term (I assume). You application didn't crash it refuses to compile.

Hope this may help (a similar issue discussed here):

http://qt-project.org/forums/viewthread/10255

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM