Have you tried the example player in qt-mobiity?:
$qt-mobility-1.0.0/examples/player

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Juan Jose Gil 
Mendez
Sent: 2010年7月13日 22:17
To: [email protected]
Subject: [Qt-mobility-feedback] com.nokia.qt.mediaplayer

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