cuteatul
12th July 2011, 06:36
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
QApplication app(argc, argv);
MainWindow mainWindow;
mainWindow.setOrientation(MainWindow::ScreenOrient ationAuto);
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();
what is wrong with this ..
plz help me out...
thanks..
while writting my symbian application I am getting this error
no matching function for call to 'QVideoWidget::QVideoWidget(QMediaPlayer**, MainWindow&)
and my code is
QApplication app(argc, argv);
MainWindow mainWindow;
mainWindow.setOrientation(MainWindow::ScreenOrient ationAuto);
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();
what is wrong with this ..
plz help me out...
thanks..