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

Andrea Bernabei and.bernabei at gmail.com
Thu Feb 27 19:20:22 UTC 2014


if you just want to bundle all the files in one dir, you just add

example_name.files = <dir>
example_name.path = <output_dir>
INSTALLS += example_name

(this is for the "just bundle inside the rpm package" case)

Read the sailfishos.org page I linked :)


2014-02-27 20:14 GMT+01:00 Iosif Hamlatzis <i.hamlatzis at gmail.com>:

> 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/20140227/ce3b8f5c/attachment.html>


More information about the Devel mailing list