[SailfishDevel] HowTo package my resources (images/sounds/etc)

Andrey Kozhevnikov coderusinbox at gmail.com
Thu Feb 27 19:25:29 UTC 2014


res.files = Home/*
res.path = /usr/share/mygame/resourcces

INSTALLS += res

On 28.02.2014 01:14, Iosif Hamlatzis wrote:
> ok thanks
>
> and if I am not making a Qt application but just a plain c/c++ 
> application? Is there a way to define just the root of my assets folder?
>
> Let's say my tree is:
>
> c:\workspace\mygame\Home
> c:\workspace\mygame\Home\media
> c:\workspace\mygame\Home\media\bmps
> c:\workspace\mygame\Home\media\bmps\.....
> c:\workspace\mygame\Home\media\bmps\.....\.....
> c:\workspace\mygame\Home\media\sounds
> c:\workspace\mygame\Home\other\
> etc
>
> is it possible to say I want everything under the 
> c:\workspace\mygame\Home folder?
>
> If I have lots and lots of sounds, images, fonts etc it's getting 
> ..... (I cannot find a polite word to use) to manually add each and 
> every file, something is going to get lost
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140228/934e1b35/attachment.html>


More information about the Devel mailing list