天嵌 ARM开发社区

 找回密码
 注册
查看: 1282|回复: 1

为什么Qte2.2 编译的时候显示缺少头文件

[复制链接]
9008681 发表于 2013-7-19 09:48:21 | 显示全部楼层 |阅读模式
为什么Qte2.2 编译的时候显示缺少头文件,make 天嵌给的first。显示为:
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/usr/lib/qt-3.1/include -I/include -o main.o main.cpp
main.cpp:3:35: error: qtopia/qpeapplication.h: No such file or directory
In file included from /usr/lib/qt-3.1/include/qvariant.h:42,
                 from first.h:12,
                 from main.cpp:1:
/usr/lib/qt-3.1/include/qstring.h: In member function 'ushort& QChar::unicode()':
/usr/lib/qt-3.1/include/qstring.h:185: error: cannot bind packed field '((QChar*)this)->QChar::ucs' to 'ushort&'
main.cpp: At global scope:
main.cpp:5: error: expected constructor, destructor, or type conversion before '(' token
make: *** [main.o] Error 1
TQ-lkp 发表于 2013-7-19 10:03:06 | 显示全部楼层
有没有运行设置环境变量的脚本,在QT的安装目录中
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-2 23:57 , Processed in 1.024454 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表