Hi
Please help me!

I am writing an application for nokia phonesm using qt sdk, that involves
playing video online...

 This is the code that deals with creating the widgets and playing the
video...

   QMediaPlayer *player = new QMediaPlayer;

   QVideoWidget *videoWidget;

   videoWidget = new QVideoWidget(ui->centralWidget);

   videoWidget->setGeometry(QRect(20, 20, 100, 100));

   QMediaContent media = QUrl::fromLocalFile("c:/Old/battle.avi");

   player->setMedia(media);

   player->play();

After this, I get no video being played, and the following error:

defaultServiceProvider::requestService(): no service found for -
"com.nokia.qt.mediaplayer"


My system is Windows XP, and my .PRO file includes the following:


CONFIG += mobility
MOBILITY = multimedia


does anybody has any ideas?


Thanks in advance!
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to