View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#295
MohammadAG told me that I should post some info on getting video playback to work via QML. Here's the mailing list post with the useful information:

http://permalink.gmane.org/gmane.com...ty.general/726

Basically, you need to install Qt Mobility 1.2, then set the environment variable QT_PLUGIN_PATH=/opt/qtm12/plugins and also view.engine()->addImportPath(QLatin1String("/opt/qtm12/imports")); which in Python simply becomes view.engine().addImportPath('/opt/qtm12/imports'). Then video playback works. If you have problems with the OpenGL viewport, try disabling it and see if this fixes the problem, although achipa said that he fixed the OpenGL colorkey in a recent Qt Mobility upload, I wasn't able to test it yet.
 

The Following 14 Users Say Thank You to thp For This Useful Post: