Results 1 to 2 of 2

Thread: make error about "drag and drop"

  1. #1
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    1
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Unhappy make error about "drag and drop"

    [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

  2. #2
    Join Date
    Dec 2006
    Location
    Bangalore, India
    Posts
    38
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: make error about "drag and drop"

    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....

    All the best.......
    WINNERS DON`T D DIFFERENT THINGS THEY D THINGS differently.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.