my code is just like this
but it does work in the simulator, but it does not work in my phone(phone type: E72);Code:QSound::play("hit.wav");
why?
At first i think , maybe the file "hit.wav" copy failed into my phone;
but when i use QFile::exists("hit.wav"). That told me the file is existed in my phone! so i am confused?
fileinfo.absoluteFilePath() told me that the file path is " c:\private\ed3632c3\hit.wav " ,And that seems to be right too; But there are no any soundCode:QFile file("hit.wav"); QFileInfo fileinfo(file); fileinfo.absoluteFilePath();
who can tell me why??





