PDA

View Full Version : Embedding Marble in a plugin... symbol error



qlands
6th October 2011, 13:14
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:


symbol lookup error: /data/cquiros/projects/ILRI-MARIO/software/impact/CrossImpact/plugins/libfarmgeoselector.so: undefined symbol: _ZN6Marble12MarbleWidgetC1EP7QWidget

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

Regards,
Carlos.

qlands
7th October 2011, 08:29
Got it!!! I have to include unix:LIBS += -lmarblewidget in the pro