[Development] Qt for iOS: Management Retina vs Non-Retina Images
    Ziller Eike 
    Eike.Ziller at theqtcompany.com
       
    Wed Oct  8 09:03:34 CEST 2014
    
    
  
On Oct 6, 2014, at 1:59 PM, Robert Iakobashvili <coroberti at gmail.com> wrote:
> Gentlemen,
> If images are placed to resource file,
> is there any option for an automatic management
> of using either Retina or non-Retina images
> using Apple's naming convention or the manual
> management is the only option like for Mac OS X?
> 
> Here's an example of what Qt developers
> are doing:
> http://qt-project.org/forums/viewthread/44805/
> 
> Are there any other approaches or
> best practices?
Just use
Image {
    source: “foo.png”
}
and it will try “foo at 2x.png” on 2x screens on OS X and iOS automatically.
Br, Eike
> Thank you.
> 
> Kind regards,
> Robert
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
    
    
More information about the Development
mailing list