[Development] Qt for iOS: Management Retina vs Non-Retina Images
Thiago A. CorrĂȘa
thiago.correa at gmail.com
Wed Oct 8 13:36:16 CEST 2014
Hi,
On Wed, Oct 8, 2014 at 5:10 AM, Ziller Eike
<Eike.Ziller at theqtcompany.com> wrote:
>
> QIcon does automatic loading of @2x images afair. QPixmap and QImage only set the devicePixelRatio corresponding to the file name automatically, but you have to define yourself if you want to load a @2x or not.
>
This behavior isn't documented in QIcon[1]. Shouldn't it use
QFileSelector[2] instead now? Since it's undocumented, couldn't this
be changed before 6.0?
[1] http://qt-project.org/doc/qt-5/qicon.html
[2] http://qt-project.org/doc/qt-5/qfileselector.html
Kind Regards,
Thiago A. Correa
More information about the Development
mailing list