• 5046阅读
  • 1回复

make 出錯 Drag and drop [复制链接]

上一主题 下一主题
离线halloworld
 
只看楼主 倒序阅读 楼主  发表于: 2009-02-11
[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._ZTV11PictureFlow+0x134): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlow+0x138): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlow+0x13c): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
moc_pictureflow.o(.gnu.linkonce.r._ZTV11PictureFlow+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 的總是undefined, 好像libqte 沒有支持???求救
离线wd007

只看该作者 1楼 发表于: 2009-02-12
不太清楚,是不是需要的库并没有编译进来。
比如,如果数据库插件没有编译完全,就有这个错误出现。
欢迎访问我的博客,一起学习提高
http://blog.csdn.net/qter_wd007
快速回复
限100 字节
 
上一个 下一个