On Sat, 12 Feb 2011 12:03:22 pm ext zhu wrote:
> Hi,
>
> Please try -----
>
> import Qt 4.7
> import Qt.multimedia 1.0
>
> I see some code in
> qt-mobility-opensource-src-1.0.2/plugins/declarative/multimedi
> a/multimedia.cpp
> 64 virtual void registerTypes(const char *uri)
> 65 {
> 66 Q_ASSERT(QLatin1String(uri) == QLatin1String("Qt.multimedia"));
> 67
> 68 qmlRegisterType<QSoundEffect>(uri, 1, 0, "SoundEffect");
> 69 qmlRegisterType<QDeclarativeAudio>(uri, 1, 0, "Audio");
> 70 qmlRegisterType<QDeclarativeVideo>(uri, 1, 0, "Video");
> 71 }
It was only valid with qtmobility 1.0.2, currently it should be
import QtMultimediaKit 1.1
Regards
Dmytro.
>
>
> On Fri, Feb 11, 2011 at 11:11 PM, Michele Tameni <[email protected]> wrote:
> > I'm reading this:
> > http://doc.qt.nokia.com/qtmobility-1.1/qml-video.html#details
> >
> > So seem that it is implemented... but i can't get it working... any advice?
> > Michele
> >
> > On Fri, Feb 11, 2011 at 3:55 PM, Chen, Zhang Z <[email protected]>
> > wrote:
> >> Multimedia has been moved to QtMobility. Maybe you should import
> >> QtMobility? If QtMobility has not been implemented in QML, you may have to
> >> implement it yourself.
> >>
> >>>-----Original Message-----
> >>>From: [email protected]
> >>>[mailto:[email protected]] On Behalf Of Michele Tameni
> >>>Sent: Friday, February 11, 2011 9:10 PM
> >>>To: [email protected]
> >>>Subject: [MeeGo-dev] qml and QtMultimediaKit
> >>>
> >>>Hi, I'm playing a bit around qml, and now i want to make my app playing a
> >>>video.
> >>>I see in the documentation that i can use QML Video element from
> >>>QtMultimediaKit, but on meego 1.1 I receive error on
> >>>import QtMultimediaKit 1.1
> >>>I've already installed libqtmultimediakit1 and
> >>>libdeclarative-multimedia, what I miss?
> >>>
> >>>
> >>>Thanks a lot
> >>>Michele
> >>>--
> >>>michele tameni
> >>>_______________________________________________
> >>>MeeGo-dev mailing list
> >>>[email protected]
> >>>http://lists.meego.com/listinfo/meego-dev
> >>
> >
> >
> >
> > --
> > michele tameni
> > http://www.amdplanet.it
> > _______________________________________________
> > MeeGo-dev mailing list
> > [email protected]
> > http://lists.meego.com/listinfo/meego-dev
> >
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
>
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev