[Interest] dealing with high-DPI on Windows

Elvis Stansvik elvstone at gmail.com
Thu Jun 1 14:09:02 CEST 2017

2015-05-22 9:08 GMT+02:00 Robert Iakobashvili <coroberti at gmail.com>:
> 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.

Necroposting to this old thread since I'm in the same boat now: I'd
like to know what the preferred way of dealing with hidpi on Windows


> Regards,
> Robert
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

More information about the Interest mailing list