Add extra qml plugins to QML designer
is it possible to create a qml plugin(either a c++ one or a pure qml one) and to add it to the qml designer?
Also in which directory my plugins has to go?
thanks in advance
What do you want to achieve?
Yes, one can add C++ plugins to QmllDesigner by deriving from QmlDesigner::IWidgetPlugin.
This allows extending the item library (Just have a look at the symbian components plugin).
But the plugin constructor could also register more custom qml components for the property editor.
The property editor can be extended by pure qml by adding .qml files to
QtWebKit/WebViewSpecifics.qml is a good example.
<Type>Spefics basically means that the type is derived from Item and the .qml only redefines the parts “specfic” for that type relative to Item.
One could also add a complete new custom type <Type>Pane.qml (e.g. Item.qml).
If you need you own custom widget here, you could register it in a c++ plugin as mentioned above.