Video player in QML
-
Hey guys,
I'm developing a Qt Quick application, running in the QML viewer. What I need to do is use some kind of video player in order to play media in the application. I've googled for ages and I can't find anything that I can see as useful - if anyone can give me some useful infomation and a push in the right direction it'd be awesome!
Thanks.
-
I think you need to look into either Qt Muktuimedia module, or Phonon.
-
If you are using QT5 rc
take a look "":http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-mediaplayer.html
It's easy to use and it works ( on my linux )
-
[quote author="hpollak" date="1355827418"]If you are using QT5 rc
take a look "":http://qt-project.org/doc/qt-5.0/qtmultimedia/qml-qtmultimedia5-mediaplayer.html
It's easy to use and it works ( on my linux )[/quote]
I had a look at that, looks really useful to me, thanks :). One problem that I'm having is with my openDatabaseSync function. I'm aware that we now have to "import QtQuick.LocalStorage 2.0", but it tells me that the package doesn't exist. Is there some kind of environment variable that i need to change thats to do with importing libraries or something?
-
-
Its a Qt Quick project, so I only have a .project file. As it stands, I don't have any C++ files with this project at the moment