PDA

View Full Version : make error about "drag and drop"



halloworld
11th February 2009, 07:48
[root@friendlyarm pictureflow-qt]# make
arm-linux-g++ -Wl,-rpath,/home/nfs/qtopia-free-2.2.0/qt2/lib -o /home/plugin_test/pictureflow-0.1.0/pictureflow-qt/pictureflow pictureflow.o main.o moc_pictureflow.o
-L/home/nfs/qtopia-free-2.2.0/qtopia/lib -L/home/nfs/qtopia-free-2.2.0/qt2/lib -L/home/arm/lib -lqte -lpng -lz -luuid -ljpeg
main.o(.gnu.linkonce.r._ZTV7Browser+0x134): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
main.o(.gnu.linkonce.r._ZTV7Browser+0x138): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
main.o(.gnu.linkonce.r._ZTV7Browser+0x13c): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
main.o(.gnu.linkonce.r._ZTV7Browser+0x140): undefined reference to `QWidget::dropEvent(QDropEvent*)'
moc_pictureflow.o(.text+0x11c): In function `PictureFlow::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaproperty(int)'
moc_pictureflow.o(.text+0x490): In function `PictureFlow::staticMetaObject()':
: undefined reference to `QMetaObject::new_metaobject(char const*, char const*, QMetaData*, int, QMetaData*, int, QMetaProperty*, int, QMetaEnum*, int, QClassInfo*, int)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlo w+0x134): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlo w+0x138): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlo w+0x13c): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlo w+0x140): undefined reference to `QWidget::dropEvent(QDropEvent*)'
collect2: ld returned 1 exit status
make: *** [/home/plugin_test/pictureflow-0.1.0/pictureflow-qt/pictureflow] Error 1
[root@friendlyarm pictureflow-qt]#

drag and drop is always undefined, looks like libqte does not support

Cutey
11th February 2009, 11:33
Some times these kind of strange error may come so don't fuss...
But my advice is just do make clean and try it out.... :D

All the best.......