[Qt-qml] Plugin example [was: Re: A simple, complete example of QML onvoking C++?]
Matthias Ettrich
matthias.ettrich at nokia.com
Fri Apr 16 14:58:41 CEST 2010
Exactly what's there already. It's a working example.
The import path points to the application directory when you pass -I .,
it contains the sub directory com/nokia/TimeExample (which the engine
derives from the uri com.nokia.TimeExample by replacing the dots with
slashes), and TimeExample contains a qmldir file which has a line:
plugin qtimeexampleqmlplugin
i.e. on windows it expects a qtimeexampleqmlplugin.dll in that directory.
Matthias
On Friday 16 April 2010 14:24:24 ext Alain FLORET wrote:
> Ok thanks Matthias,
>
> Just one last thing is in qt declarative plugins example, it declared
> uri = "com.nokia.TimeExample" so in "ImportPath" what must have specify
> and what must be in "qmldir" file ?
>
> Thanks !!!
>
More information about the Qt-qml
mailing list