[Interest] How are High DPI Icons supposed to work?

Adam Light aclight at gmail.com
Tue Sep 29 14:55:01 CEST 2015


On Tue, Sep 29, 2015 at 1:20 AM, Julius Bullinger <
Julius.Bullinger at asctec.de> wrote:

> On Tuesday, 29 September 2015 08:32 Thiago Macieira wrote:
> > And QT_DEVICE_PIXEL_RATIO is deprecated -- it will print a qWarning in
> Qt 5.6 now. Please don't set it.
>
> I know about the upcoming changes in 5.6, but AFAIK this the only option
> in 5.5 right now.
> But please enlighten me if there's a better way working with Qt 5.5.
>
>
On Macintosh, it's not necessary to set QT_DEVICE_PIXEL_RATIO when using Qt
5.5, as the correct resource is used (in buttons at least, but not in some
other widgets that display icons). However, AFAIK, using
QT_DEVICE_PIXEL_RATIO is required to get this to work at all on Windows
with Qt 5.5.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150929/fec72c40/attachment.html>


More information about the Interest mailing list