Regards, Robert
On Fri, Jul 24, 2015 at 4:48 PM, Robert Iakobashvili <corobe...@gmail.com> wrote: > On Fri, Jul 24, 2015 at 2:36 PM, Till Oliver Knoll > <till.oliver.kn...@gmail.com> wrote: >> >>> Am 22.07.2015 um 08:43 schrieb Robert Iakobashvili <corobe...@gmail.com>: >>> >>> On Wed, Jul 22, 2015 at 9:16 AM, Hamish Moffatt >>> <ham...@risingsoftware.com> wrote: >>>> On 22/07/15 15:52, Robert Iakobashvili wrote: >>>>> >>>>> Gentlemen, >>>>> A user pointed to the issue on >>>>> Mac Book Pro 15 inch mid 2015. AMD Radeon R9 graphic card, >>>>> 15.4-inch, 2880 x 1800 screen, Mac OS 10.10.4. >>>>> and mentioned that the look is "pixelated as the application >>>>> does not support Retina". >>>>> >>>>> Unfortunately, I do not have such expensive HW to >>>>> reproduce the issue. >>>>> >>>>> A patch to support 2x and 3x images >>>>> from Morten Sorvig has been applied >>>>> and images 2x and 3x are inside: >>>>> >>>>> https://codereview.qt-project.org/106717 >>>>> https://codereview.qt-project.org/106705 >>>>> >>>>> Is there something else to be done with Qt-5.4.2 >>>>> like defining some HIGH-DPI, etc? >>>> >>>> You need to add two keys to your Info.plist: >>>> >>>> a boolean key NSHighResolutionCapable with value TRUE; >>>> a string key NSPrincipalClass with value NSApplication. >>>> >>>> >>>> Hamish >>> >>> Dear Hamish, >>> I'll try it. >> >> Besides, you don't necessarily need Retina capable hardware: the "Quartz >> Debug Extensions" ((?) check optional developer downloads, either in Xcode >> or, more likely, on Apple's developer homepage) allow you to run your >> desktop in "Retina mode" to test your application. > >> Cheers, >> Oliver > > Dear Oliver, > Quarts is very very useful. It's a QWidget-based application. After adding to Info.plist <key>NSHighResolutionCapable</key> <true/> <key>NSPrincipalClass</key> <string>NSApplication</string> on a good side all texts and fonts are looking great in the created by Quartz Debug HDPI Display with double resolution. However, on a bad site I do not see any improvements in how images are looking. All images are located in resource file with appropriate @2x for double resolution images and they are used for QIcon constructor by passing their rsc locations. qApp->devicePixelRatio() was checked to be 2.0 The look of images is not changes/improves even if the names of the 2x images are passed explicitly. They are loaded, but still not looking differently from 1x. Am I missing something about Quartz settings or capabilities? Thanks, Robert _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest