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
MainWindow mainWindow;
mainWindow.setOrientation(MainWindow::ScreenOrientationAuto);
mainWindow.showExpanded();
QMediaPlayer *mediaPlayer = new QMediaPlayer;
QMediaPlaylist *list = new QMediaPlaylist(mediaPlayer);
list
->addMedia
(QUrl("Song"));
QVideoWidget *widget = new QVideoWidget(&mediaPlayer, mainWindow);
widget->show();
mediaPlayer->play();
QApplication app(argc, argv);
MainWindow mainWindow;
mainWindow.setOrientation(MainWindow::ScreenOrientationAuto);
mainWindow.showExpanded();
QMediaPlayer *mediaPlayer = new QMediaPlayer;
QMediaPlaylist *list = new QMediaPlaylist(mediaPlayer);
list->addMedia(QUrl("Song"));
QVideoWidget *widget = new QVideoWidget(&mediaPlayer, mainWindow);
widget->show();
mediaPlayer->play();
To copy to clipboard, switch view to plain text mode
what is wrong with this ..
plz help me out...
thanks..
Bookmarks