[Development] Retina display

Jason Dictos jdictos at barracuda.com
Wed Jun 13 15:48:36 CEST 2012


Yup that works. 

-----Original Message-----
From: jiang.jiang at nokia.com [mailto:jiang.jiang at nokia.com] 
Sent: Wednesday, June 13, 2012 9:45 AM
To: Jason Dictos
Cc: morten.sorvig at nokia.com; development at qt-project.org
Subject: Re: [Development] Retina display

On Jun 13, 2012, at 3:35 PM, ext Jason Dictos wrote:
> Oh wait, I see, so I moved it out of the bundle and ran Designer, and wow looks great.
> 
> I wonder how I can enable this mode in my application, since I'm using my own bundle.

Try adding:

<key>NSPrincipalClass</key>
<string>NSApplication</string>

to the Info.plist of your app bundle.

See:

http://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Explained/Explained.html#//apple_ref/doc/uid/TP40012302-CH4-SW7

NSHighResolutionCapable sounds like something worth trying as well.

- Jiang


'Like' us on Facebook for exclusive content and other resources on all Barracuda Networks solutions.
Visit http://barracudanetworks.com/facebook





More information about the Development mailing list