hey all,

while writting my symbian application I am getting this error
no matching function for call to 'QVideoWidget::QVideoWidget(QMediaPlayer**, MainWindow&)

and my code is

Qt Code:
  1. QApplication app(argc, argv);
  2.  
  3. MainWindow mainWindow;
  4. mainWindow.setOrientation(MainWindow::ScreenOrientationAuto);
  5. mainWindow.showExpanded();
  6.  
  7. QMediaPlayer *mediaPlayer = new QMediaPlayer;
  8. QMediaPlaylist *list = new QMediaPlaylist(mediaPlayer);
  9. list->addMedia(QUrl("Song"));
  10.  
  11.  
  12.  
  13. QVideoWidget *widget = new QVideoWidget(&mediaPlayer, mainWindow);
  14. widget->show();
  15. mediaPlayer->play();
To copy to clipboard, switch view to plain text mode 

what is wrong with this ..
plz help me out...
thanks..