Planning merging the single qqml engine

Marco Martin notmart at gmail.com
Mon May 18 19:53:09 UTC 2015


On Monday 18 May 2015, Mark Gaiser wrote:
> Anyway, with that attribute you let the applet developer OPT-IN in for
> shared engine. Setting that attribute can be easily forgotten. If anything,
> they should OPT-OUT thus by default use the shared engine.
> Perhaps a attribute like this is more appropriate?:
> X-Plasma-RequiresOwnQmlEngine=true
> 
> or something alike.
> 
> I'd definitely go for OPT-OUT (defaults = use shared engine).

no, because the key here is retrocompatibility, old applets have to work as 
is.
it's true that this makes it error prone, but that's the ugly need :/
otherwise there wouldn't be any reason for supporting both modes

-- 
Marco Martin


More information about the Plasma-devel mailing list