summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-01-22 09:43:58 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2018-01-22 09:08:14 +0000
commit00f151953dbb4d9e50eebcaedce9866977e22a12 (patch)
tree2d97efc389067b7a901fe68fe4ca0d19039343d7
parent9e819c2f46380b922625638b7ad4b6c8b9f9bb9a (diff)
downloadqtdoc-00f151953dbb4d9e50eebcaedce9866977e22a12.tar.gz
Clarify QML cache docs after changes in qtdeclarative
The cache files are architecture independent and do not contain native code anymore. That also lifts some limitations. The remaining limitation of not supporting resources but only modules is something that will be removed soon but come via a separate change for the docs. Change-Id: I390ffbb1e3c5837ee120ee303964b16eb66d4903 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--doc/src/qmlapp/deployment.qdoc17
1 files changed, 4 insertions, 13 deletions
diff --git a/doc/src/qmlapp/deployment.qdoc b/doc/src/qmlapp/deployment.qdoc
index ee5def6c..faf1d1c6 100644
--- a/doc/src/qmlapp/deployment.qdoc
+++ b/doc/src/qmlapp/deployment.qdoc
@@ -63,10 +63,10 @@ The \l{Downloads}{Qt Installers} install the QML libraries in
\section1 QML Caching
-The QML runtime loads QML documents by parsing them and generating native code.
+The QML runtime loads QML documents by parsing them and generating byte code.
Most of the time the document hasn't changed since the last time it was loaded.
In order to speed up this loading process, the QML runtime maintains a cache
-file for each qml document. This cache file contains the native code and a
+file for each qml document. This cache file contains the byte code and a
binary representation of the QML document structure. In addition, when multiple
applications use the same QML document, the memory needed for the code is
shared between application processes. The cache files are loaded via the \c
@@ -130,17 +130,8 @@ and also installed into the same directory for deployment.
\section2 Limitations
-Currently this feature has some limitations:
-
-\list
-\li Only QML and JavaScript documents that are part of a QML module can be
-compiled ahead of time.
-\li For cross-compilation, only the ARMv7 and ARMv8 target architectures are
-supported.
-\li For native compilation, Ahead-of-Time caching is limited to architectures
-where the QML runtime supports Just-in-Time compilation. This includes x86, x86-64,
-ARMv7, ARMv8 and MIPS32.
-\endlist
+Currently this feature has the limitation that only QML and JavaScript
+documents that are part of a QML module can be compiled ahead of time.
\section1 Prototyping with QML Scene