[SailfishDevel] DeclarativeGlassImageProvider

Tero Siironen tero.siironen at iki.fi
Wed Nov 20 20:32:33 UTC 2013


Thanks Mikko, that works! One slash was missing thou image://glass/file:// … Apparently I didn’t try each option. You should update the reference documentation on next update.


-- 
Tero

Mikko Harju <mikko.harju at jolla.com> kirjoitti 20.11.2013 kello 12.07:

> On 19.11.2013 23:54, David Reinhold wrote:
>> Hi,
>> 
>> I’m having problems with this as well. Did you manage to solve this problem Tero? The image shows up just fine without the provider but when using the provider I get:
>> QFSFileEngine::open: No file name specified
>> QFSFileEngine::open: No file name specified
>> DeclarativeGlassImageProvider::requestImage(): source image "" is not available. 
> 
> Can you try if it works with a full url, ie. image:/glass/file:// .. ?
> Basically it fetches QUrl(source)::toLocalFile() for the part after
> provider identity.
> 
> -- 
> mikko
> _______________________________________________
> SailfishOS.org Devel mailing list



More information about the Devel mailing list