Am 20.09.12, 19:09 -0700 schrieb P Bai:
I have a few questions about how to add retina display support to my 
application. I understand by reading an earlier discuss that you can add a few 
lines in the info.plist to enable HiDPI render. That would only work for text 
and standard widgets, right? How about icons and pixmaps? How do I detect if 
the application is running in HiDPI mode? For example if I write an image 
viewer program, how do I know when to draw a high resolution image? I guess I 
can just always force draw the high-res image to the rect of a regular sized 
image, but that would be a huge waste of system resource and performance drag 
when running on non-retina system. Are there any better solutions?

Aren't you seeing the window size in pixels as usual? With that available, you would have a generic answere for your kind of question.

kind regards
Kai-Uwe Behrmann
--
developing for colour management www.behrmann.name + www.oyranos.org
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to