Commit 95afdf6c authored by Leena Miettinen's avatar Leena Miettinen Committed by Leena Miettinen
Browse files

Doc: QML_PUPPET_MODE env variable



The variable was added for checking whether a QML plugin
is run in Design mode or by an application.

Task-number: QTCREATORBUG-12439
Change-Id: Iad99b7279c8191cb8b17ca81ff24fb9db731fdc9
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 47f9622e
......@@ -101,4 +101,10 @@
\gui {Use QML emulation layer which is built by the selected Qt} radio button.
\QC builds the emulation layer when you select the \gui Design mode.
A plugin should behave differently depending on whether it is run by the
emulation layer or an application. For example, animations should not be run
in the \gui Design mode. You can use the value of the QML_PUPPET_MODE
environment variable to check whether the plugin is currently being run
by an application or edited in the \gui Design mode.
*/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment