[Interest] Caching of compiled/initialized qml code to disk possible?
Ola Røer Thorsen
ola at silentwings.no
Wed Jan 15 15:26:24 CET 2014
Hi all,
I have an application written with Qt 5.2 in C++ and QtQuick2, running on a
low-end ARM device. I use the Loader item to select between various screens
in the application (I've currently got 6 screens or so). This way I can
limit the amount of active bindings at a given time, etc.
The first time I enter a new screen, there is a very noticeable delay (1-2
seconds), as the new items are "compiled". The next time I enter the same
screen, the delay is much shorter. So I guess some things have been cached
in memory.
Would it be possible to cache this on disk, to prevent this from happening
every single time the application is started? I'm asking for something
pretty similar to Python's ".pyc" files.
Is it possible, or would it be possible in some future version of Qt?
Cheers,
Ola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140115/9767a048/attachment.html>
More information about the Interest
mailing list