• 6095阅读
  • 3回复

在fedora 8环境下编译本机Qtopia2.1.1虚拟平台遇到一个很郁闷的问题,请求帮助 [复制链接]

上一主题 下一主题
离线diamond001
 
只看楼主 倒序阅读 楼主  发表于: 2010-01-01
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-07) —
在fedora 8环境下编译本机Qtopia2.1.1平台遇到一个很郁闷的问题,请求帮助:

错误提示信息如下:

/root/2410sQt/temp1/qt-2.3.10/include/qrangecontrol.h:52: 警告:‘class QRangeControl’ 有虚函数却没有虚析构函数
thumbnailview_p.h:81: 错误:有多余的限定 ‘ThumbnailItem::’ 在成员 ‘paintItem’ 上
/root/2410sQt/temp1/qt-2.3.10/include/qdatetime.h:51: 警告:‘class QDate’ 有虚函数却没有虚析构函数
../../../include/qtopia/../../src/libraries/qtopia/qcom.h:88: 警告:‘struct QUnknownInterface’ 有虚函数却没有虚析构函数
../../../include/qtopia/../../src/libraries/qtopia/qcom.h:100: 警告:‘struct QLibraryInterface’ 有虚函数却没有虚析构函数
../../../include/qtopia/../../src/libraries/qtopia/applicationinterface.h:49: 警告:‘struct ApplicationInterface’ 有虚函数却没有虚析构函数
make[4]: *** [.obj/debug-shared/imageselector.o] 错误 1
make[4]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src/libraries/qtopia2'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src/libraries/qtopia2'
make[2]: *** [sub-libraries-qtopia2] 错误 2
make[2]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src'
make: *** [all] 错误 2

在线等待高人指点,先谢谢各位前辈了。


这个问题已经得到解决,谢谢各位!
但是又有一个问题产生了:

sp_enc.c:257: 错误:与 ‘PackBits’ 类型冲突
sp_enc.h:109: 错误:‘PackBits’ 的上一个声明在此
sp_enc.c: In function ‘PackBits’:
sp_enc.c:267: 警告:无符号表达式永远不小于 0
make[4]: *** [.obj/debug-shared/sp_enc.o] 错误 1
make[4]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src/3rdparty/libraries/amr'
make[3]: *** [all] 错误 2
make[3]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src/3rdparty/libraries/amr'
make[2]: *** [sub-3rdparty-libraries-amr] 错误 2
make[2]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/2410sQt/temp1/qtopia-free-2.1.1/src'
make: *** [all] 错误 2

请各位指点!先谢谢了。
[ 此帖被diamond001在2010-01-01 21:57重新编辑 ]
离线shiroki

只看该作者 1楼 发表于: 2010-01-04
gcc版本太高了
好像qt2最高能支持到3.3 还是3.4之类的版本,fc8似乎已经用gcc4了吧
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
离线904655530
只看该作者 2楼 发表于: 2010-05-02
我也遇到同样问题了,顶一下!
离线baskerle

只看该作者 3楼 发表于: 2010-05-13
楼主最后解决了么?
我也遇到这了~~~
快速回复
限100 字节
 
上一个 下一个