[Interest] Is it possible to have video files bundled as an app resource and have them played by Qml?

Thiago Macieira thiago.macieira at intel.com
Tue Nov 8 13:25:23 CET 2016


Em terça-feira, 8 de novembro de 2016, às 11:01:35 CST, Sean Harmer escreveu:
> Or you can use the -binary option of rcc to keep the resource file
> separate from your application. Comes in handy if you need to ship
> different resource sets for different configurations/customers/themes
> etc. I use this a lot with HDR environment maps for e.g.

If you're going to keep files anyway, may as well keep the entire video 
outside. Don't assume the video decoder frameworks can read from Qt resources.

Use QFileSelector to find the file.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list