thanks a lot, it worked like a charm.
___
SailfishOS.org Devel mailing list
Is there no debian/install counterpart in rpm, not to have use qmake
INSTALLS?
--
Marcin
2014-02-27 20:25 GMT+01:00 Andrey Kozhevnikov :
> res.files = Home/*
> res.path = /usr/share/mygame/resourcces
>
> INSTALLS += res
>
>
> On 28.02.2014 01:14, Iosif Hamlatzis wrote:
>
> ok thanks
>
> and i
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:\
if you just want to bundle all the files in one dir, you just add
example_name.files =
example_name.path =
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 :
> ok thanks
>
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\
given your case (a game) you probably don't want to compile the biggest
files inside the binary...
so you just bundle those files in your application rpm by modifying the
INSTALLS var in your .pro project file
More info: https://sailfishos.org/develop-packaging-apps.html
2014-02-27 20:05 GMT+01
This is what Qt offers ;)
http://qt-project.org/doc/qt-5/resources.html
2014-02-27 19:35 GMT+01:00 Iosif Hamlatzis :
> I cannot find a way to include my resources for my game. I have a
> hierarchy of folders for my fonts, images, sounds and settings files, how
> can I package them so they keep
I cannot find a way to include my resources for my game. I have a hierarchy
of folders for my fonts, images, sounds and settings files, how can I
package them so they keep the hierarchy?
___
SailfishOS.org Devel mailing list