> In theory you could use that to scale application's SVGs on device to target > pixel ratio as post-install step, unfortunately it is ran as root and thus > cannot be allowed for Store apps. Then you wouldn't need to hardcode the > pixel ratios to build time scripts. I'll dig deeper to see what we could do > there.
You could run scaling and svg to png (?) on first start, and use pre-scaled icons from QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) through e.g. your own QQuickImageProvider. And use some version tag there too, if you want to regenerate them on update. Or do scaling on the fly in the QQuickImageProvider and cache scaled images -kimmo _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org