[Qt-qml] Plugin example [was: Re: A simple, complete example of QML onvoking C++?]

warwick.allison at nokia.com warwick.allison at nokia.com
Thu Apr 15 02:56:10 CEST 2010


> - in the QML file, don't we need to add a line to refer to the shared
> object, i.e. something like this: "import NativeBackend"

No, because in this case, the qmldir is in the same directory as the Button.qml; basically, the equivalent of making a file "NativeBackend.qml" in that directory (which also would be available with no special import).

--
Warwick




More information about the Qt-qml mailing list