Good news regarding Qt 5.5

Simon Hausmann simon.hausmann at theqtcompany.com
Mon May 11 08:27:48 UTC 2015


On Monday, May 11, 2015 10:23:42 AM Marco Martin wrote:
> On Monday 11 May 2015, you wrote:
> > > we are probably need this a bit more in the future, so I would really
> > > love to find a way to not lose it
> > 
> > That's a fair point, but isn't that possible with one generic
> > QQmlFileSelector or shared interceptor? Once you have an absolute path you
> > can still do substitution, regardless of the package maybe?
> 
> yeah, that can be done, from an absolute path one can always understand in
> what package the request was from, if any. I guess in the end will be just
> done like that
> 
> the url would still be lost, so it should still create an engine for applets
> that use it, would need to have a key in the desktop fiel just for that
> (like what version of qml scriptengine it needs), a bit error prone but
> should work

Ahh yes, "new style" applets would have to indicate in a .desktop file that 
they do not need their own engine (and use relative paths only). Do you 
already have a Version/MinimumVersion type of field?

I know it's a bit painful to do this. But think of the gain.... :-)

Simon


More information about the Plasma-devel mailing list