aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-11-25 16:56:13 +0100
committerMaximilian Goldstein <max.goldstein@qt.io>2020-11-26 08:32:00 +0100
commit845b84980ec14979d08277b8f0ea026fcc99a6ac (patch)
tree5896edc882e93a002668c0dc55a99755e3101873 /src/qml/doc
parent6b08c24297f39f3c67bc5c16f46198b33af66529 (diff)
qml/doc: Add QV4 debugging information
Change-Id: I6545a54fc6753d896c9a865087d55146922658be Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/src/javascript/finetuning.qdoc10
-rw-r--r--src/qml/doc/src/javascript/topic.qdoc4
2 files changed, 11 insertions, 3 deletions
diff --git a/src/qml/doc/src/javascript/finetuning.qdoc b/src/qml/doc/src/javascript/finetuning.qdoc
index fcd710db8b..97dc2421c5 100644
--- a/src/qml/doc/src/javascript/finetuning.qdoc
+++ b/src/qml/doc/src/javascript/finetuning.qdoc
@@ -27,7 +27,7 @@
/*!
\page qtqml-javascript-finetuning.html
-\title Fine-tuning the JavaScript Engine
+\title Configuring the JavaScript Engine
\brief Describes the environment variables available, to control how Javascript is run.
Running JavaScript code can be influenced by a few environment variables, particularly:
@@ -98,6 +98,14 @@ Running JavaScript code can be influenced by a few environment variables, partic
provide this information, there's a convention to create a special file called
\c{perf-<pid>.map} in \e{/tmp} which perf then reads. This environment variable, if
set, causes the JIT to generate this file.
+ \row
+ \li \c{QML_DISABLE_DISK_CACHE}
+ \li Disables the disk cache. See \l{The QML Disk Cache}.
+ \row
+ \li \c{QV4_SHOW_BYTECODE}
+ \li Outputs the IR bytecode generated by Qt to the console.
+ Has to be combined with \c{QML_DISABLE_DISK_CACHE} or already cached bytecode will not
+ be shown.
\endtable
*/
diff --git a/src/qml/doc/src/javascript/topic.qdoc b/src/qml/doc/src/javascript/topic.qdoc
index 05fb1ddfdc..f910cc38c9 100644
--- a/src/qml/doc/src/javascript/topic.qdoc
+++ b/src/qml/doc/src/javascript/topic.qdoc
@@ -81,11 +81,11 @@ These limitations and extensions are documented in the description of the
\l{qtqml-javascript-hostenvironment.html}{JavaScript Host Environment} provided
by the QML engine.
-\section1 Fine Tuning the JavaScript engine
+\section1 Configuring the JavaScript engine
For specific use cases you may want to override some of the parameters the
JavaScript engine uses for handling memory and compiling JavaScript. See
-\l{qtqml-javascript-finetuning.html}{Fine Tuning the JavaScript engine} for
+\l{qtqml-javascript-finetuning.html}{Configuring the JavaScript engine} for
more information on these parameters.
*/