On Fri, 13 Jun 2014 14:32:44 +0100
Chris Walker <cdw_noki...@the-walker-household.co.uk> wrote:

> I've had an app in development for ages and I've always been able to
> have an image on the cover page. I've started another app today -
> created from the template (New File or Project ...) - and using the
> same code for the cover page, Creator is complaining that it can't
> find the image.

Just in case anybody is tempted to ask, there is a line in the .pro
file specifying where to find the image.

> Here's the first bit of code for the cover page. What am I doing
> wrong / need to check to make this work again?
> 
> import QtQuick 2.0
> import Sailfish.Silica 1.0
> 
> CoverBackground {
>     id: coverpage
>     anchors.centerIn: parent
> 
>     Image {
>         id: logo
>         source: "images/fuelpad.png"
>         anchors.centerIn: parent
>     }
> 
> For info, the images folder is inside the qml folder so the folder
> structure is Fuelpad > qml > cover alongside images, pages and the
> Fuelpad.qml file.
> 
> I've searched the mail list since August of last year and nobody seems
> to have suffered from this problem.
> 
> Any help appreciated.

Is this relevant to my problem above? I don't see how, but you never
know!

error: unpacking of archive failed on
file /usr/share/scratchbox2/modes/sdk-build: cpio: rename failed - Is a
directory

This was from an attempted update after the above failure.
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to