View Single Post
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Originally Posted by naabi View Post
First of all, what kind of structure would be best for the installation?
There is a good guide on how to set up the right folder-structure in the wiki. Further there is a general packaging information in the developer guide.

Originally Posted by naabi View Post
XML config, should those go under ~/.myapplication? I've read also about gconf, should I use that for simple configuration that can be changed (booleans, numbers etc.) and how do I initialize that configuration when installing? Also that should not be overwritten when updating to a newer version of application.
Qt offers directly a nice approach to store settings. Have a look here: QSettings

Originally Posted by naabi View Post
How about the other resources like audio files and images, should those go under .../usr/share? And what's the best way to refer to those, I hate to hardcode paths in the executable.
Be aware that the space in the rootfs, where /usr is mounted as well, is quite limited. So that packages should be "optified", which means that the actual data is stored in /opt, which offers more space and /usr/share/ just contains the links to these files. What this means exactly you can read here.


Daniel
 

The Following 3 Users Say Thank You to danielwilms For This Useful Post: