Results 1 to 2 of 2

Thread: Embedding Marble in a plugin... symbol error

  1. #1
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Embedding Marble in a plugin... symbol error

    Hi,

    I am writing a QT plugin that has a Widget UI with the Marble designer widget. The dynamic load of the library works but when the plugins interface tries to construct and show the UI with the marble widget I get:

    Qt Code:
    1. symbol lookup error: /data/cquiros/projects/ILRI-MARIO/software/impact/CrossImpact/plugins/libfarmgeoselector.so: undefined symbol: _ZN6Marble12MarbleWidgetC1EP7QWidget
    To copy to clipboard, switch view to plain text mode 

    Any idea what do I need to do? If I remove the Marble widget the UI loads fine.

    Regards,
    Carlos.

  2. #2
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Embedding Marble in a plugin... symbol error

    Got it!!! I have to include unix:LIBS += -lmarblewidget in the pro

Similar Threads

  1. Replies: 0
    Last Post: 10th May 2011, 15:58
  2. Replies: 1
    Last Post: 22nd June 2010, 20:56
  3. Dynamic load QT Plugin - symbol lookup error
    By qlands in forum Qt Programming
    Replies: 4
    Last Post: 2nd May 2010, 20:37
  4. Marble as Qt Designer Plugin on WindowsXP
    By peirenjun in forum Qt Programming
    Replies: 9
    Last Post: 17th December 2009, 14:43
  5. Marble as QT Designer Plugin
    By chris.penny in forum Qt-based Software
    Replies: 1
    Last Post: 16th October 2009, 14:51

Tags for this Thread

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.