当前位置: 代码迷 >> QT开发 >> qtopia2.2.0程序交叉编译不过解决方法
  详细解决方案

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

热度:136   发布时间:2016-04-25 04:46:49.0
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);

楼主你也将你的解放方法说一下吧!
------解决方案--------------------
探讨

看我空间,得刷刷访问量了,呵呵。
  相关解决方案