View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#301
Originally Posted by thp View Post
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.
Thanks very much for the info. I did see that post, but I haven't had the chance to install Qt Mobility 1.2 and test yet. I'll give it a go tomorrow.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following 3 Users Say Thank You to marxian For This Useful Post: