Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.2
-
None
-
Kubuntu 18.04 x86_64
-
-
3797704c4ff0d91f544efa791973eced07c3ef02 (qt/qtbase/5.12)
Description
I tried to load an image using the naming scheme form the documentation, but I found, that this doesn't work with @3x images: looks like the devicePixelRatio isn't set properly.
I found in the source code, that the QImageReader can only recognize @2x in an image name, unlike the QIcon which has generic code to handle this name suffix.
Attachments
For Gerrit Dashboard: QTBUG-76273 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
265107,2 | Generalize image file name @2x suffix handling to higher scale factors | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |