[Qt-mobility-feedback] com.nokia.qt.mediaplayer
Juan Jose Gil Mendez
juan at grapplemobile.com
Tue Jul 13 16:17:03 CEST 2010
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-mobility-feedback/attachments/20100713/ec18d833/attachment.html
More information about the Qt-mobility-feedback
mailing list