[Development] Runtime Platform Content Selection

Attila Csipa qt at csipa.in.rs
Wed Jan 16 17:16:20 CET 2013


On 16/01/13 17:36, Mohamed Fawzi wrote:
> I am certainly not against the idea of a faster/more efficient static way of choosing resources but it cannot depend on a predetermined directory ordering. I believe we should rather focus the immediate efforts on a subset of the problem, like handling multiple image resolutions within .qrc files.
> that could be handled nicely in the current proposal by adding -highres for example to the images.
> I se no reason why this "new" URL handler should not look into .qrc files.
>

It also wouldn't hurt to check how other platforms are doing it for 
inspiration, as there are some precedents/prior art addressing this for 
several years now. iOS has the @2x and -568h naming conventions ( 
http://www.vigorouscoding.com/2012/03/naming-conventions-for-image-resources-in-ios/ 
), Android has 
http://developer.android.com/guide/practices/screens_support.html , etc


Best regards,
Attila
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130116/93b60b14/attachment.html>


More information about the Development mailing list