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

Nuno Santos nunosantos at imaginando.pt
Tue Nov 8 12:11:02 CET 2016


Sean,

Thanks for your feedback. 

Where do I put that option? CONFIG?

Thanks!

Nuno Santos
Founder / CEO / CTO
www.imaginando.pt
+351 91 621 69 62

> On 08 Nov 2016, at 11:01, Sean Harmer <sean.harmer at kdab.com> wrote:
> 
> Hi,
> 
> On 07/11/2016 08:40, Alexandru Croitor wrote:
>> Hi,
>> 
>> from Qt 5.4.0 changes file:
>> 
>> rcc now supports an optional, two-pass compilation that improves build
>> times for large resource bundles. This feature can be enabled by adding
>> "CONFIG += resources_big" to your .pro file. Note that this feature may
>> interfere with builds that enable link-time code generation or other
>> optimization techniques.
> 
> 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.
> 
> Cheers,
> 
> Sean
> 
>> 
>> 
>> 
>>> On 06 Nov 2016, at 23:57, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>
>>> <mailto:nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>>> wrote:
>>> 
>>> Hi,
>>> 
>>> I was trying to make a Qt mobile app to reproduce a video but I
>>> couldn’t add the video as a resource to be used by qml. The resource
>>> compiler failed with an error related with file size and I wasn’t even
>>> able to reproduce it.
>>> 
>>> Is is possible to add big video files as a resource without being
>>> processed by the resource compiler to be used by qml?
>>> 
>>> Thanks,
>>> 
>>> Regards,
>>> 
>>> Nuno
>>> 
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org <mailto:Interest at qt-project.org> <mailto:Interest at qt-project.org <mailto:Interest at qt-project.org>>
>>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>> 
>> 
>> 
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>> 
> 
> -- 
> Dr Sean Harmer | sean.harmer at kdab.com <mailto:sean.harmer at kdab.com> | Managing Director UK
> KDAB (UK) Ltd, a KDAB Group company
> Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
> Mobile: +44 (0)7545 140604
> KDAB - Qt Experts
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org <mailto:Interest at qt-project.org>
> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161108/18b9a7f6/attachment.html>


More information about the Interest mailing list