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 <nunosan...@imaginando.pt
<mailto:nunosan...@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@qt-project.org <mailto:Interest@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


--
Dr Sean Harmer | sean.har...@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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to