QML video element
-
Hi everyone,
I test "article":http://doc.qt.nokia.com/qt-mobility-snapshot/qml-multimedia.html
@Video {
id: video
width : 800
height : 600
source: "video.avi"MouseArea { anchors.fill: parent onClicked: { video.play() } } focus: true Keys.onSpacePressed: video.paused = !video.paused Keys.onLeftPressed: video.position -= 5000 Keys.onRightPressed: video.position += 5000
}@
im in ubuntu 10, Qt SDK 1.1 RC (updated today 6 Avril ) Qt creator 2.1.0
when i run the simulator , the error is :plugin cannot be loaded for module "QtMultimediaKit": Cannot load library /home/username/QtSDK/Simulator/Qt/gcc/imports/QtMultimediaKit/libdeclarative_multimedia.so: (libQtMobilitySimulator.so.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type)
the french sentence is : "unable to open shared object file: no file of that type"
for the .pro file , i have added
@CONFIG += mobility
MOBILITY += multimedia@when i run desktop, the error is module "QtMultimediaKit" is not installed
i have to install Qtmoblity seperately after i install Qt SDK ? i don't know why. my objective is to develop a simple video player for symbian 3 (N8), what should i do next?
thanks
-
-
yes, of course i did.
if i did not import " QtMultimediaKit 1.1", Video is not object.
[quote author="shullw" date="1302198412"]Just to cover all bases, did you put
@import QtMultimediaKit 1.1@
at the top of the qml file?[/quote]
-
Hi,
I have to develop a cross platform (windows, meego) full QML app which embbed a video player. Considering QtMobility is part of the SDK, I expected this to work on Desktop.
I read this "post":http://developer.qt.nokia.com/forums/viewthread/4235 and this how to "install QTMobility on windows":http://qt-mobility.blogspot.com/2010/06/installing-qt-mobility-final-libraries.html
But since I have a fresh install of the full SDK (and up-to-date), I have a simple question :
Is it possible, with no custom install process of the SDK, to have the QtMultimediaKit (embedded in QtMobility) running on desktop and use the QML "Video" element ?
If it's not possible without cutom SDK install process, where could I find a detailed process to build it ?
Thanks a lot.
[quote author="huluyige" date="1302106188"]
when i run desktop, the error is module "QtMultimediaKit" is not installedi have to install Qtmoblity seperately after i install Qt SDK ? i don't know why. my objective is to develop a simple video player for symbian 3 (N8), what should i do next?
thanks
[/quote]