[Interest] [5.8] how to use qml caching?

Tim Blechmann tim at klingt.org
Tue Nov 15 10:13:02 CET 2016


>> * is it possible to warm up the cache explicitly without
>> instantiating the qml files completely? e.g. i'd like to create the
>> cache for all qml files that will be instantiated during the
>> lifetime of the program at startup time in order to hide latencies
>> when they are actually loaded.
>> 
> No its not possible yet.  As I wrote "Ahead of time compilation of Qt
> Quick continues to be supported through the commercial Qt Quick
> Compiler.“ The main problem to solve is cross platform ahead of time
> compilation.

unfortunately the qtquick compiler isn't included into the
qt-everywhere-enterprise-src tarball, which makes things a bit difficult
to use when compiling qt from sources :/


> If you are on the same kind of machine for building and
> running your application,you could write your own training code by
> instantiating your qml components one after another and collect the
> cache files for later use. But it is not supported yet afaik.

thanks a lot for all the answers, now i know more than before!

cheers,
tim




More information about the Interest mailing list