[email protected] wrote:
>> Hi
>>
>> I managed to have qt-mobility (and multimedia services) running on
>> linux, but now I'm tryin in Windows and I still get this error when
>> running the player example:
>>
>> "The QMediaPlayer object does not have a valid service"
>>
>> I installed also strawberry perl, and
>> my configure command is
>>
>> configure -examples
>>
>> after make and make install (which installs everything in
>> c:\QtMobility)
>> I tried to run the player example and when I try to play an mp3 file I
>> read on the title bar
>>
>> "The QMediaPlayer object does not have a valid service"
>>
>> If I run a small console application using the mediaplayer I get
>>
>> defaultServiceProvider::requestService(): no service found for -
>> "com.nokia.qt.mediaplayer"
>>
>> These are also the things I tried to make it work
>>
>> set PATH=C:\QtMobility\lib;%PATH%
>> copy qtmedia_audioengined.dll into QTDIR/plugins/mediaservice
>>
>> but still doesn't work...
>>
>> any help please?
>>
>
> This is with mingw I take it?
>
> The Direct Show service provider for media playback is disabled for all but a
> few specific msvc platforms because it requires some headers and libraries
> that are not universally available.
>
> I've changed the build system to test for the required headers and libraries
> in configure.bat so in future it should be enabled if your version of mingw
> supports it (the version shipped with QtCreator does), and if not configure
> will warn you.
>
> In the meantime you can disable the platform check in
> src/multimedia/multimedia.pro by replacing the line:
> win32-msvc2005|win32-msvc2008: SUBDIRS *= directshow wmp
>
> with:
> SUBDIRS *= directshow
>
> Andrew
>
Hi
I'll try. But you mean
plugins/multimedia/multimedia.pro
not
src/multimedia/multimedia.pro
thanks
Lore
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback