Doc: Describe the global setting for system environment

Used when determining the build and run environment and
the environment for running external tools.

Task-number: QTCREATORBUG-25162
Change-Id: I6ddf4952bed5ae9190b65bbac8f0c17404be0538
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2021-02-19 15:35:51 +01:00
parent fa617b4018
commit adce958d5c
3 changed files with 13 additions and 1 deletions

View File

@@ -159,6 +159,13 @@
see \l{Batch Editing}.
\endif
To globally change the system environment from the one in which
\QC is started, select \uicontrol Tools > \uicontrol Options >
\uicontrol Environment > \uicontrol System, and then select
\uicontrol Change in the \uicontrol Environment field. For more
information, see \l{Specifying Environment Settings}.
\li Select the \uicontrol {Modifies current document} check box to make sure
that if the current document is modified by the tool, it is saved
before the tool is run and reloaded after the tool finishes.

View File

@@ -40,6 +40,11 @@
existing environment variables or add, reset and unset new variables
based on your project requirements.
To globally change the system environment from the one in which
\QC is started, select \uicontrol Tools > \uicontrol Options >
\uicontrol Environment > \uicontrol System, and then select
\uicontrol Change in the \uicontrol Environment field.
In addition, you can specify custom environment variables in the
\uicontrol {Project Settings} > \uicontrol Environment settings.
They are added to all build environments. The final build environment

View File

@@ -103,7 +103,7 @@
When running on the desktop, the \uicontrol {Build Environment} is used by
default, but you can also use the \uicontrol {System Environment} without the
additions made to the build environment. For more information, see
\l {Build Environment}.
\l {Build Environment} and \l{Specifying Environment Settings}.
To run in a clean system environment, select \uicontrol {Clean Environment}.