[Development] High-DPI 5.6 beta update

Tim Blechmann tim at klingt.org
Tue Dec 15 20:53:22 CET 2015


-----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
>> as well?
>> 
>> 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, to match the resolution of the screen,
resulting in a blurry rendering :/

> 2) is limited to SVG Tiny (that is, whatever QtSvg support) 3) has
> terrible performances due to the rasterization (which has a huge
> cost, happens entirely at runtime, and whose results are not 
> cached) 4) gives worse visual results than icons which were
> produced by rasterizing SVG files, then having artists giving final
> touches the output
> 
> Are you really sure you want to go down this path?
> 
> My 2 c,
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWcG+yAAoJEAIkvWiom07DJqQP/i5+O1XWbjnKTTDhKlyYp5L8
vQ43UZ3DNcISg3R3awHgH6gZ6j+YX7HpsdjhQNFoWvjr4WSpLuMfFKmX+nLnI61C
QYNNV+b8N5IQ/3gYeOAp42G9H+w4hg0wzjGWWvSsUKT/HbUY1Pko1LUg3A7+EZQP
JQ8bLiCzFdm9avkC/tYA3Wbc6xZb2toXFO9zApzcligODvvkkyyuax9WKLjorC1U
0jC/FqmKYG2P28K4A5uMzSV4gpbqP+cQEQv6jod12fjAlwvNBQFpWVD+e/kKOkG2
FybtoPSQH6MyB7/arMJ+1YtXQVoT+cEC1xFt+uDPVPeYUZlGWtWMEFKJLc7zfLai
vU3cYn/z3ST+z+36AYkORIVSg/W5zn9RnU5ze2prZgyqe35mzvJO0/9Cf0i55mis
iYbwjXhjTwCid6uEphQ0phj32UG9I6n9Kt6vvzJRb3NC7mcI+KZfwAPpt9EVs192
RjxzsResG98Sh3pKxJ6YEPnUe0rHotRN4VLE5PUqsCbFsMFxCjjHA0sowIN0TNB5
SynnlBCvyEaGz/qEgp/GobfB/pX6J2Ahnl9IW4Zpv6p5r3ZLh2sBKcPDRUQ4i9Mc
sjvPTW43zIqNdvvL30O+GhrwESUdQbdMtk43uPatp3FgN+9grLSdawiaMwdwUqwV
++9z850fPbDeD59K5jnK
=HUtE
-----END PGP SIGNATURE-----




More information about the Development mailing list