Thread
:
Qt SDK 1.12 Qt Creator - Adding sound files into the N900 build.
View Single Post
gionni88
2011-08-05 , 14:34
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#
4
To include a file to be shipped within your deb, go to your qt creator project file and add this:
maemo5 {
MYFILE.files = MYFILENAME
MYFILE.path = /opt/MYAPPNAME/
INSTALLS += MYFILE
}
QtCreator starts looking for your files inside source dir. You must give it full name, estension included.
Throw away QSound, if I don't remember wrong it's not even available on maemo. Use QSound::isAvailable() public static method to check it.
Quote & Reply
|
The Following User Says Thank You to gionni88 For This Useful Post:
kojacker
gionni88
View Public Profile
Send a private message to gionni88
Find all posts by gionni88