View Single Post
vkv.raju's Avatar
Posts: 402 | Thanked: 451 times | Joined on Dec 2007 @ India
#13
Originally Posted by crabsody View Post
No. I found no errors. If I use this line

mediaObject->setCurrentSource(Phonon::MediaSource(":new/images/images/cow.mp3"))

it doesn't work

if I use this

mediaObject->setCurrentSource(Phonon::MediaSource("/home/grizos/NokiaQtSDK/Projects/Babytoy/music/cow.mp3"));

It works ok.!!!!

Very strange!! ??
I am not at all into Qt programming but this is what I got from this link: http://doc.qt.nokia.com/latest/phonon-mediasource.html . If you have already looked at it, then please ignore this...

Also, did you try entering this ":new/images/images/" into your windows explorer and see where it goes? My guess is that it might not be a valid path or URL!