View Single Post
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#61
Originally Posted by Sasler View Post
OK. This is probably going to be a silly question:

How can I include external files in the package done with MADDE? For example, I want to use something like this:

Code:
QSound::play("sounds/bells.wav");
Let us assume that I would have this sound file in the sounds directory, which is in the project root directory in the PC. How can I include this entire directory?

Alternatively, how can I use Maemo "system" sounds?
If you want to embed a external file, you might take a look at the Qt Resource System[1].

Don't know about MADDE, but you can include any file/dir you wish in your Debian package.

[1] - http://doc.trolltech.com/4.6/resources.html
__________________
Valério Valério
www.valeriovalerio.org
 

The Following User Says Thank You to VDVsx For This Useful Post: