Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1, 5.4.0, 5.6.0
-
Mac OS X
-
d7e274a44621a4c1bb1ede66c00ee1d1e3f7bd13 (qt/qtbase/5.12)
Description
A have two pictures in my resources:
:/images/logo_small.png
:/images/logo_small@2x.png
When I define background property on widget:
#widget2{
background-image: url(":/images/logo_small.png");
}
On retina display small image with no antialias drawn. In this situation will be drawn logo_small@2x.png image.
When I define image as icon all works fine. This bug appear only on stylesheets.
Example project in attachment.
Attachments
For Gerrit Dashboard: QTBUG-36825 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
80815,1 | StyleSheetStyle: Load @2x images. | stable | qt/qtbase | Status: ABANDONED | +1 | 0 |
107051,12 | StyleSheetStyle: Load @Nx images | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |