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 <[email protected]> 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 > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
