Hi Juan,

Have you tried this: 
http://lists.trolltech.com/pipermail/qt-mobility-feedback/2010-March/000105.html
To get the service discovered on Ubuntu I had to copy the .so files from 
qt-mobility/install/plugins/mediaservice to 
/usr/local/Trolltech/Qt-4.7.0/plugins/mediaservice.

BR
Fredrik

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: den 14 juli 2010 12:00
To: [email protected]
Subject: Qt-mobility-feedback Digest, Vol 8, Issue 14

Send Qt-mobility-feedback mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qt-mobility-feedback digest..."


Today's Topics:

   1. Re: com.nokia.qt.mediaplayer (Zhao, Halley)


----------------------------------------------------------------------

Message: 1
Date: Wed, 14 Jul 2010 08:47:55 +0800
From: "Zhao, Halley" <[email protected]>
Subject: Re: [Qt-mobility-feedback] com.nokia.qt.mediaplayer
To: Juan Jose Gil Mendez <[email protected]>,
        "[email protected]"
        <[email protected]>
Message-ID:
        
<5d8008f58939784290fab48f549751981d09b71...@shsmsx502.ccr.corp.intel.com>
        
Content-Type: text/plain; charset="gb2312"

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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.trolltech.com/pipermail/qt-mobility-feedback/attachments/20100714/81312890/attachment-0001.html
 

------------------------------

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


End of Qt-mobility-feedback Digest, Vol 8, Issue 14
***************************************************

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

Reply via email to