[Interest] dealing with high-DPI on Windows

Robert Iakobashvili coroberti at gmail.com
Fri May 22 09:08:44 CEST 2015


On Mon, May 4, 2015 at 11:02 AM, Hamish Moffatt
<hamish at risingsoftware.com> wrote:
> Does anyone have any suggestions for dealing with high-DPI environments
> in Qt on Windows? Does Qt have anything built-in which helps?
>
> On Mac we drop in @2x images, enable Qt::AA_UseHighDpiPixmaps and life
> is mostly good. But I don't think this happens on Windows (and usually
> devicePixelRatio is < 2 anyway), so do I need to do inspect the screen
> resolution and do this load different images manually? And make sure I
> handle the application being dragged to a different screen etc?
> Hamish

Hi,
I'd also appreciate any guidelines on how to deal
with images at high-DPI screens on Windows
with Qt-5.4.1/2 as well with Qt-5.5 and what is the diff from
dealing with Mac/iOS?

Thank you in advance.

Regards,
Robert



More information about the Interest mailing list