How to add files to RPM during packaging?

I suggest reading the documentation about packaging: Packaging | Sailfish OS Documentation

Even though the page doesn’t directly answer your question, have a look at how sailfishapp.prf handles installation of desktop and icon files. The same mechanism works in a pro file as well.

1 Like