[Interest] How are High DPI Icons supposed to work?
Thiago Macieira
thiago.macieira at intel.com
Tue Sep 29 17:42:44 CEST 2015
On Tuesday 29 September 2015 05:55:01 Adam Light wrote:
> 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.
We had a discussion about that yesterday on IRC and concluded the windows
platform plugin must enable it automatically. Relying on the environment
variable to be set is wrong.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list