Re: [Development] High-DPI 5.6 beta update

2015-12-18 Thread Sorvig Morten
> On 18 Dec 2015, at 01:05, Corentin Jabot wrote: > > Having stumbled upon this issue very recently, here are my 2 cents. > • Svg images should be devicePixelRatio aware without having to set a > source size > • Likewise, QQuickImageProvider should know about devicePixelRation, > w

Re: [Development] High-DPI 5.6 beta update

2015-12-17 Thread Corentin Jabot
Having stumbled upon this issue very recently, here are my 2 cents. - Svg images should be devicePixelRatio aware without having to set a source size - Likewise, QQuickImageProvider should know about devicePixelRation, without having to set a source size. - I would absolutely love a

Re: [Development] High-DPI 5.6 beta update

2015-12-16 Thread Sorvig Morten
> On 15 Dec 2015, at 20:25, rpzrpz...@gmail.com wrote: > > Instead of worrying about @2x and @3x and trying to generate artwork in all > of the sizes, would it not be advantageous > to only use SVG vector format and allow the svg plugin to generate and scale > at run-time a single svg file in t

Re: [Development] High-DPI 5.6 beta update

2015-12-16 Thread Sorvig Morten
> On 15 Dec 2015, at 22:16, Tim Blechmann wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Your thoughts on projects that use ONLY SVG image resources > and not PNG/JPEG? But the above: 1) already works >>> >>> kind of ... the above will rasterize

Re: [Development] High-DPI 5.6 beta update

2015-12-15 Thread Tim Blechmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Your thoughts on projects that use ONLY SVG image resources and not PNG/JPEG? >>> >>> But the above: >>> >>> 1) already works >> >> kind of ... the above will rasterize the svg for the resolution >> of the Image which is then upscaled, t

Re: [Development] High-DPI 5.6 beta update

2015-12-15 Thread Olivier Goffart
On Tuesday 15. December 2015 20:53:22 Tim Blechmann wrote: > >> Image { id: gicon source: qrc:/img/test.svg anchors.fill: parent > >> } > >> > >> Pro File: > >> > >> QT += svg > >> > >> Outside of the app, in the Android Manifext.xml and IOS, you need > >> to provide pre-generated launcher PNG i

Re: [Development] High-DPI 5.6 beta update

2015-12-15 Thread Tim Blechmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> Image { id: gicon source: qrc:/img/test.svg anchors.fill: parent >> } >> >> Pro File: >> >> QT += svg >> >> Outside of the app, in the Android Manifext.xml and IOS, you need >> to provide pre-generated launcher PNG icons, but inside the app >>

Re: [Development] High-DPI 5.6 beta update

2015-12-15 Thread Giuseppe D'Angelo
On Tue, Dec 15, 2015 at 8:25 PM, rpzrpz...@gmail.com wrote: > Image > { > id: gicon > source: qrc:/img/test.svg > anchors.fill: parent > } > > Pro File: > > QT += svg > > Outside of the app, in the Android Manifext.xml and IOS, you need to provide > pre-generated launcher PNG icons, bu

Re: [Development] High-DPI 5.6 beta update

2015-12-15 Thread rpzrpz...@gmail.com
On 12/15/2015 5:03 AM, Sorvig Morten wrote: Hi, I’d like to provide short update on the changes in this space, an also lay out some plans and possibilities for the future. Thanks to everyone who has helped out! New changes: * @3x support landed, both for Qt Widgets and Qt Quick. Implemented as

[Development] High-DPI 5.6 beta update

2015-12-15 Thread Sorvig Morten
Hi, I’d like to provide short update on the changes in this space, an also lay out some plans and possibilities for the future. Thanks to everyone who has helped out! New changes: * @3x support landed, both for Qt Widgets and Qt Quick. Implemented as @Nx support, with @9x as a maximum value. *