Hello;

I'm writing an extension plugin for QML designer.

Hence I need to access the UI objects in QmlDesigner::QmlDesignerPlugin ?

I'm trying to run the following code from my Qt Creator plugin:
QmlDesigner::Internal:esignModeWidget *p = QmlDesigner::QmlDesignerPlugin::instance()->mainWidget();

Problem is that the above piece of code fails with:

-1: error: undefined reference to `_imp___ZN11QmlDesigner17QmlDesignerPlugin8instanc eEv'
-1: error: undefined reference to `_imp___ZNK11QmlDesigner17QmlDesignerPlugin10mainW idgetEv'

Help will be very much appreciated.

Thanks;

Mut.