[Interest] (Q)Plugins and QML/Quick
ulf.hermann at qt.io
Tue Sep 14 08:26:15 CEST 2021
> The problem to discuss:
> * An application that wants to be extendable via plugins.
> * These are found and loaded at runtime.
> * Not all of them are used at the time.
> * The plugins require non-trivial UI, that they ought to "bring
> * During the runtime of the application one plugin can be disabled and
> another one enabled, and their respective UI should be replaced in
> the application window.
> o Ultimately, think that they can be chosen on a combo-box.
> Now, the question: How would you approach the same problem in QML? I've
> read around that creating objects for the Quick engine is an
> anti-pattern. So, do you have examples, or suggestions, how to achieve
> this kind of design?
You're talking about QML modules. There is a new blog post about those
, and I'm just writing another, more in depth one, about the same topic.
More information about the Interest