首页| 论坛| 消息
主题:开贴整理常见编译错误集锦 -- 不断更新中
回帖:TO: cannot find -lqte
变量QTDIR指向QTE对吗?
QTDIR=$TROLLTECHDIR/qt-embedded-free-2.3.10-debug
我是这么做的export QTDIR=$HOME/Trolltech/qt-embedded-free-2.3.10-debug
结果出现如下错误
..........
/root/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined reference
to `QComboBox::setAutoCompletion(bool)'
/root/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined reference
to `QComboBox::setEditText(QString const&)'
/root/Trolltech/qt-embedded-free-2.3.10-debug/lib/libqte.so: undefined reference
to `QMotifStyle::drawIndicator(QPainter*, int, int, int, int, QColorGroup const
&, int, bool, bool)'
collect2: ld returned 1 exit status
make: *** Error 1
是libqte.so没装好吗?
下一楼›:undefined reference的问题我的帖子里也提到了, 恩, 建议你把lib下的libqte*删掉, 然后
c ..

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