[root@localhost world]# ls
hello.cpp hello.h hello.pro hello.ui main.cpp Makefile
[root@localhost world]# vi Makefile
[root@localhost world]# make
arm-none-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/include -o hello.o hello.cpp
/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/include/qtooltip.h:87: warning: 'class QToolTip' has virtual functions but non-virtual destructor
arm-none-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/include -o main.o main.cpp
/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/bin/moc hello.h -o moc_hello.cpp
arm-none-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -DNO_DEBUG -I/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/include -o moc_hello.o moc_hello.cpp
arm-none-linux-gnueabi-g++ -o hello hello.o main.o moc_hello.o -L/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qt2/lib -lm -L/home/jerry/ltib-imx31ads-20071008/rpm/BUILD/arm-none-linux-gnueabi/lib -lqte -lts -ljpeg -lstdc++
moc_hello.o: In function `hello::staticMetaObject()':
moc_hello.cpp:(.text+0xd0): undefined reference to `QMetaObject::new_metaobject(char const*, char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int, QMetaEnum*, int, QClassInfo*, int)'
moc_hello.o:(.rodata+0x134): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
moc_hello.o:(.rodata+0x138): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
moc_hello.o:(.rodata+0x13c): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
moc_hello.o:(.rodata+0x140): undefined reference to `QWidget::dropEvent(QDropEvent*)'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
自己删除过-lqte这个库,make 后的错误多的不可数,所以很确定这些函数都是在libqte里面,自己又添加了一下,可还是老样子,还会有这样的错误,请教高手,库的问题怎么解决?