• 3503阅读
  • 0回复

qtopia应用程序调试问题--    恳求相助! [复制链接]

上一主题 下一主题
离线yangliuneu
 
只看楼主 倒序阅读 楼主  发表于: 2009-08-13
     恳求相助!
   这几天都在调试一个简单的qtopia应用程序,已经成功在PC中的qpe中可以运行,但是在换用arm-linux-gcc编译时(我想移植到ARM9开发板上的qtopia中运行),就总是出现如下错误:
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1a8): undefined reference to `non-virtual thunk to QWidget::bytesPerLine() const'
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1ac): undefined reference to `non-virtual thunk to QWidget::graphicsContext(bool) const'
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1b0): undefined reference to `QPaintDevice::cmd(int, QPainter*, QPDevCmdParam*)'
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1b4): undefined reference to `non-virtual thunk to QWidget::metric(int) const'
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1b8): undefined reference to `QPaintDevice::fontMet(QFont*, int, char const*, int) const'
moc_hello_base.o(.gnu.linkonce.r._ZTV13HelloBaseForm+0x1bc): undefined reference to `QPaintDevice::fontInf(QFont*, int) const'
collect2: ld returned 1 exit status
make: *** [/bin/hello] Error 1

   好像是找不到某些qt库的缘故,但我对qt编译后相关库的路径不清楚,这个问题困扰我几天了,恳求大家帮助指点!!!
快速回复
限100 字节
 
上一个 下一个