Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

High-dpi Image item

$
0
0
Is Image item supposed to automatically detect that there is a “@2x” file alternative on high-dpi displays and use it? That’s what I understood from http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ Yet a simple example, having test.jpg and test@2x.jpg image files: Image {                                                                                 source: "test.jpg"                                                             } Shows test.jpg on my retina display, whether ran by qmlscene or by my C++ application. I tried different combinations and tricks and nothing seems to work. In Qt examples “@2x” images seem to be used only for icons. If anyone could hint me how to use Image with high-dpi file alternatives or point me to an alternative, I’d sure appreciate it.

Viewing all articles
Browse latest Browse all 13965

Trending Articles