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

Konstantin Tokarev annulen at yandex.ru
Wed Nov 9 19:36:11 CET 2016



08.11.2016, 15:25, "Thiago Macieira" <thiago.macieira at intel.com>:
> 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.

Resource files are great when one needs to bundle many relatively small files together,
otherwise indeed there is no benefit from using them

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list