首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > QT开发 >

qtopia2.2.0程序交叉编译不过解决方法

2012-05-28 
qtopia2.2.0程序交叉编译不过RTundefined reference to `typeinfo for QGListundefined reference to `ty

qtopia2.2.0程序交叉编译不过
RT
undefined reference to `typeinfo for QGList'

undefined reference to `typeinfo for QWidget'

上面的是错误信息。

程序中用到了opencv2.3.1库,用到了Typeid 等函数,需要支持RTTI,因此通过 加上-fo-rtti编译选项行不通

特来这时里求解。

[解决办法]
不知道楼主你是怎么解决的,我当时是将
qtopia-free-2.2.0/qtopia/src/libraries/mediaplayer/videoviewer.cpp 文件 52行

SimpleVideoWidget::SimpleVideoWidget(QWidget *parent);

这一句修改为了:
SimpleVideoWidget(QWidget *parent);

楼主你也将你的解放方法说一下吧!
[解决办法]

探讨

看我空间,得刷刷访问量了,呵呵。

热点排行