to play media files(audio file) i wrote code..
like this..
QContent content = contentset->content(index.row());
QMediaContent* mediacontent;
mediacontent = new QMediaContent(content);
m_mediaControl = new QMediaControl(mediacontent);
m_mediaControl->start();
but it is not playing(sound is not coming)
if i use media player services like this
QContent content = contentset->content(index.row());
content.execute();
then it is play'g..
how to play media files without using execute() command..
Hrudhay..
Bookmarks