On Thu, Jan 20, 2011 at 11:03 AM, Sampo Savola
<[email protected]> wrote:
>
> The reason I wanted to use QML plugin in the first place was that I
> want to use my existing quite complex QWidget in my QML application
> with QGraphicsProxyWidget. And based on the documentation and
> examples, the recommended way to use QWidget's in QML applications is
> to make them as QML plugins.
>
> By including the plugin in Qt's resource system would make deploying
> the plugin with the application a bit easier.

Hi Sampo,

you can introduce new types to QML engine also by using:
http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeengine.html#qmlRegisterType

Like Kai said, plugins are handier when you want to share.

Juha
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to