无法打开包含文件:'stddef.h'创建样本Qt应用程序时没有找到此类文件或目录错误 [英] Cannot open include file :'stddef.h' No such file or directory found error when creating a sample Qt application

查看:4025
本文介绍了无法打开包含文件:'stddef.h'创建样本Qt应用程序时没有找到此类文件或目录错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

stddef.h文件是有安装的诺基亚Qt SDK包含文件夹,但仍然我得到运行Qt模拟器的编译错误。任何想法?

stddef.h file is there in installed Nokia Qt SDK include folder, but still I am getting compile error on running Qt Simulator. Any ideas?

提前感谢!

推荐答案

发生与我,当我试图与VS2008版本的Qt编译Windows,但Visual C ++ 2008实际上没有安装到我的电脑。 (VS2010是,但是没有关系。)

This error message happened with me when I tried to compile for Windows with the VS2008 version of Qt, but Visual C++ 2008 was in fact not installed to my computer. (VS2010 was, but that didn't matter.)

我有以下想法:


  • 尝试安装Visual C ++ 2008


  • 尝试使用MinGW代替VS2008

Qt模拟器本身没有多少用处,所以如果你不能使它工作,不要感觉不好。在目标设备本身上运行应用程序是最好的,为了调试的目的,您还可以编译桌面操作系统的东西。

The Qt simulator itself is not of much use though, so don't feel bad if you don't manage to make it work. Running your application on the target device itself is the best, and for debugging purposes, you can also compile your stuff for desktop OSes.

这篇关于无法打开包含文件:'stddef.h'创建样本Qt应用程序时没有找到此类文件或目录错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆