[Interest] Wrapping a .qml file into a Qt plugin?

Alan Alpert 416365416c at gmail.com
Thu Oct 31 17:33:42 CET 2013


Add the qml files as a resource, then use
https://qt-project.org/doc/qt-5.1/qtqml/qqmlengine.html#qmlRegisterType-3
to register them into the plugin's module.

--
Alan Alpert

On Thu, Oct 31, 2013 at 9:30 AM, Guido Seifert <wargand at gmx.de> wrote:
> Hi,
> following problem:
> I'd like to wrap a .qml file into a .dll file. This qml file should then be used
> as component in another qml program. Is this possible? If yes, a hint how this
> could be done?
>
> What I want to do is to have a folder, where I can drop my qml containing dlls.
> The dlls should be loaded via the QPluginLoader and made available for the main
> qml program as components.
>
> Guido
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list