I'm using QtQuickControls2 and Qt::AA_EnableHighDpiScaling
and so all my images are deployed with my app in different solutions

per ex a 24x24px Icon
test.png (24x24) -- for 160 dpi --
t...@2x.png (48x48)
t...@3x.png (72x72)
t...@4x.png (96x96)

and so for all devices with all kind of dpi by magic the Icons and
Images are looking same

if you don't use the HighDpiScaling you can try to check the density and
then scale your Image or deploy your Images/Icons similar to @2x, ...
and select the right one for dpi of actual device running on

ekke

Am 06.03.18 um 16:27 schrieb Nuno Santos:
> Hi,
>
> I have a simple question. 
>
> *How to render small Images decently on non retina displays with QtQuick?*
> *
> *
> In my apps, I use images for icons and logos. They are all big enough
> to be displayed correctly. 
>
> However, on non Retina displays they get really bad! And on retine
> display they appear perfectly. 
>
> What is the rule of thumb to use QtQuick Image element on on retina
> displays?
>
> Thx!
>
> Regards,
>
> Nuno
>
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to