[Interest] How are High DPI Icons supposed to work?
philwave at gmail.com
Tue Sep 29 17:49:29 CEST 2015
Well, an application should be able to enable or disable HDPI support at
Qt startup, programatically.
On Tue, 29 Sep 2015 08:42:44 -0700
Thiago Macieira <thiago.macieira at intel.com> wrote:
> 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
> Interest mailing list
> Interest at qt-project.org
More information about the Interest