Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.2.1
-
None
-
Qt 5.2.1
Running on iphone5 real device with Retina display
-
-
63fb30eb29c26cd7ba0d9133610acb85cad83775
Description
According to this blog post:
https://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
"...High-resolution content can be provided side-by-side with the originals. The “@2x” version will be loaded automatically when needed by the QML Image element..."
I have a QtQuick 2.1 project with two sets of images in my QRC resource file.
Example: image.png and image@2x.png
Image {
source: "image.png"
}
Qt always selects the Low-resolution image (image.png), no matter if I'm on a retina device or not.
Note: The image files are stored in a QRC resource file.