Hi Tim.
from  https://wiki.qt.io/New_Features_in_Qt_5.8i:

        • Implemented caching of code and data structures generated from 
.qml/.js files to disk to reduce start-up time and memory consumption. The 
resulting .qmlc and .jsc cache files are memory mapped.

This all happens automatically on the first run.

See also  https://blog.qt.io/blog/2016/09/05/qt-5-8-alpha-released/
QML caching

The QML engine has also seen some major improvements with a new caching 
infrastructure, that can cache the QML files in a precompiled binary form. This 
infrastructure does help to significantly speed up loading of QML applications 
once the binary cache has been created. It also helps reduce memory 
consumption. Ahead of time compilation of Qt Quick continues to be supported 
through the commercial Qt Quick Compiler.

Regards,
Gunnar Roth


> Am 14.11.2016 um 15:42 schrieb Tim Blechmann <t...@klingt.org>:
> 
> hi all,
> 
> i've read a lot about qml caching in qt-5.8. however i didn't find any
> documentation on how to use it.
> 
> is there any documentation on how we can use it from a cmake
> buildsystem? i suppose somehow the qrc files need to be pre-processed to
> generate the qmlc/jsc files?
> 
> thanks a lot!
> 
> tim
> 
> _______________________________________________
> Interest mailing list
> 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

Reply via email to