[Development] Retina display

Jason Dictos jdictos at barracuda.com
Wed Jun 13 15:35:33 CEST 2012


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.

-Jason

-----Original Message-----
From: development-bounces+jdictos=barracuda.com at qt-project.org [mailto:development-bounces+jdictos=barracuda.com at qt-project.org] On Behalf Of morten.sorvig at nokia.com
Sent: Wednesday, June 13, 2012 8:29 AM
To: development at qt-project.org
Subject: Re: [Development] Retina display


On Jun 12, 2012, at 6:01 PM, ext Jason Dictos wrote:

> So I built qt from source, and build with cmake using my own Info.plist for our app bundle (and I don't use Qt as a framework).
> 
> How would I enable hidpi mode in Qt? We tested it and ours is definitely not rendering any higher rest widgets or anything.

If you are thinking about an API you should call then there is none. Are you able to run the Qt examples in high-res mode? Say demos/textedit:

cp textedit.app/Contents/MacOS/textedit .
./textedit

This should give you high-res text and UI controls (but low-res icons),

Morten


_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

'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