首页| 论坛| 消息
主题:开贴整理常见编译错误集锦 -- 不断更新中
回帖:再详细问一下编译qvfb时变量QTDIR=$DTEDIR 还是 QTDIR=$QT2DIR
解决编译qvfb时出现cannot find -lqte问题时将TMAKEPATH改为TMAKEPATH=/root/Trolltech/tmake-1.13/lib/linux-g++吗?
随后出现了undefined reference还有什么解决办法(重新生成libqte不管用阿)
export QTDIR=$QT2DIR后出现的undefined reference
moc_config.o(.gnu.linkonce.d._ZTV6Config+0x1c4): undefined reference to `non-virtual thunk to QWidget::bytesPerLine() const'
moc_config.o(.gnu.linkonce.d._ZTV6Config+0x1c8): undefined reference to `non-virtual thunk to QWidget::graphicsContext(bool) const'
collect2: ld returned 1 exit status
下一楼›:qvfb是x11应用, 所以qtdir要设成qt-x11-2 dir
另外qtdir和tmakepath要互相配合
设好t ..
‹上一楼:No rule to make target `all', needed by `default'
我编译qpe的 时候遇到的 ,(jinliang516)

查看全部回帖(47)
«返回主帖