[Qt-qml] Plugins in QML?
Akos Polster
akos.polster at gmail.com
Wed Oct 27 19:01:32 CEST 2010
(As opposed to QML plugins.)
I wonder what could be the building blocks for a pure QML plugin system. (Or maybe there is one already - please forgive my ignorance, I'm totally new to QML.)
Consider the use case of "theming" for example. Like how to create a ThemedRectangle element, which, depending on the available "themes" + user preferences, creates pink rectangles in one case, and blue ones in another.
Right now I think the Loader element could be the base of such a system. Any other/better approaches?
~ Akos.
More information about the Qt-qml
mailing list