[SailfishDevel] Can't change default cover

Boris Pohler boris at pohlers-web.de
Sat May 25 11:01:55 UTC 2013


The path must be set relative to the directory, where your qml file is.
For example, if your project structure is like:

project/
   qml/Cover.qml
   qml/...
   images/my_pic.png
   ...

your path in the qml-file should be ../images/my_pic.png
 

Am Samstag, den 25.05.2013, 14:52 +0400 schrieb Иван Черненький:
> Hello everybody!
> 
> i tryed to change default cover in example component-gallery  and it
> doesn't work. I changed path in Cover.qml to picture to full path, it
> was an error:
> file:///usr/lib/qt4/imports/Sailfish/Silica/CoverPlaceholder.qml:44:5:
> QML Image: Failed to get image from provider: image:
> c:UsersJonnyPicturesBukshka.png
> 
> Copyed picture to root catalog of example, won't work either. that
> what he said:
> file:///usr/lib/qt4/imports/Sailfish/Silica/CoverPlaceholder.qml:44:5:
> QML Image: Failed to get image from provider: image:Bukshka.png
> 
> Best regards,
> Ivan
> _______________________________________________
> SailfishOS.org Devel mailing list




More information about the Devel mailing list