View Single Post
Posts: 60 | Thanked: 23 times | Joined on Jan 2010
#8
Thank you for your replay.

I have found the path of the executable to be: ”/usr/local/bin/” but there is no “ballhit.wav” in that dir.

I can go to that dir and do ./app and it runs like normal, but the sounds does not work.


I did a “find . -name “ballhit.wav”” with root and found nothing on the phone.
So, the file has not been copied ?
How can I ensure the file is copied and installed with the executable?
I think that is my problem.. I need to copy the file over to the phone when i run it from Qt Creator.

I have done the following in an attempt to fix it:

In the same folder as src.pro i got ballhit.wav, and in src.pro i added this:

OTHER_FILES += ballhit.wav

target.path = $$DESTDIR
target.files += ballhit.wav
INSTALLS += target

I have also added a build step: “make install”

Last edited by tmsha; 2010-10-28 at 23:23.