ext Alain FLORET wrote: > Hi, > > I've created a QDeclarativeExtensionPlugin to declare some new Qml Type > and i try to use it trough QmlDesigner but i don't know how to specify > to qt-creator that use my plugin with import method without errors. > I've also a qmldir with the "plugin <TypeName> [Path]" but perhaps i > need to move the dll in a specific directory ?
Hi Alain, Qml Runtime plugins should be placed into the 'bin' directory of Qt Creator. That is, to make e.g. the webkit.org plugin available inside Qt Creator (and therefore Quick Designer), you have to copy following files from $QTDIR/imports: $CREATORDIR/bin/org/webkit/webkitqmlplugin.dll $CREATORDIR/bin/org/webkit/qmldir Note that these files must be compiled with exactly the same compiler / configuration (debug vs release) as Qt. Having the files there should ensure that Quick Designer is able to instantiate the WebView element when it encounters it. Anyhow, we also have a _Quick Designer_ plugin mechanism, which is independent from the qml runtime plugin mechanism. With this one, you can e.g. configure that items are shown in the Quick Designer Library. If you want to use this, too, you have to generate yet another library that has to be placed under $CREATORDIR/lib/qmldesigner. Primary example for this is the fxplugin (src/plugins/qmldesigner/fxplugin). Hope this helps, Kai > Thanks. > > Alain. > > -- > FLORET Alain > Developer > CORYS TESS > E-mail : [email protected] <mailto:[email protected]> > -- > -- Kai Koehne Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
