summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@digia.com>2013-05-27 12:32:29 +0200
committerLeena Miettinen <riitta-leena.miettinen@digia.com>2013-05-27 16:23:48 +0200
commitc93c699a5ebf5965777cb2e9bff3c51ae1d0fbd5 (patch)
tree2b7be88da6b2b74282ffdbfef149fd028bd11f36 /doc
parentc3b6721a60c37476805e5a0b27a69581b092d936 (diff)
downloadqt-creator-c93c699a5ebf5965777cb2e9bff3c51ae1d0fbd5.tar.gz
Doc: selecting run environment in run settings
Change-Id: I02f2bc70733e03b9b340c37019fef5d6a7af6872 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/images/qtcreator-pprunsettings.pngbin30530 -> 31731 bytes
-rw-r--r--doc/images/qtcreator-run-environment.pngbin0 -> 56556 bytes
-rw-r--r--doc/src/projects/creator-projects-settings-build.qdoc2
-rw-r--r--doc/src/projects/creator-projects-settings-run.qdoc22
4 files changed, 23 insertions, 1 deletions
diff --git a/doc/images/qtcreator-pprunsettings.png b/doc/images/qtcreator-pprunsettings.png
index 12d7652f5a..bdc3b341c6 100644
--- a/doc/images/qtcreator-pprunsettings.png
+++ b/doc/images/qtcreator-pprunsettings.png
Binary files differ
diff --git a/doc/images/qtcreator-run-environment.png b/doc/images/qtcreator-run-environment.png
new file mode 100644
index 0000000000..f88c1e25c2
--- /dev/null
+++ b/doc/images/qtcreator-run-environment.png
Binary files differ
diff --git a/doc/src/projects/creator-projects-settings-build.qdoc b/doc/src/projects/creator-projects-settings-build.qdoc
index 38b66eb526..570bfe2967 100644
--- a/doc/src/projects/creator-projects-settings-build.qdoc
+++ b/doc/src/projects/creator-projects-settings-build.qdoc
@@ -170,7 +170,7 @@
\section1 Build Environment
You can specify the environment you want to use for building in the
- \b{Build Environment} section. By default, the environment in which \QC
+ \gui {Build Environment} section. By default, the environment in which \QC
was started is used and modified to include the Qt version.
Depending on the selected Qt version, \QC automatically sets the
necessary environment variables. You can edit existing environment
diff --git a/doc/src/projects/creator-projects-settings-run.qdoc b/doc/src/projects/creator-projects-settings-run.qdoc
index 085a5e1f86..ccf554a9ee 100644
--- a/doc/src/projects/creator-projects-settings-run.qdoc
+++ b/doc/src/projects/creator-projects-settings-run.qdoc
@@ -53,6 +53,28 @@
\include qnx/creator-projects-settings-run-qnx.qdocinc
\endif
+ \section1 Selecting the Run Environment
+
+ \QC automatically selects the environment used for running the application
+ based on the device type. You can edit the environment or select another
+ environment in the \gui {Run Environment} section.
+
+ You can edit existing environment variables or add, reset and unset new
+ variables.
+
+ \image qtcreator-run-environment.png "Run Environment section"
+
+ When running on the desktop, the \gui {Build Environment} is used by
+ default, but you can also use the \gui {System Environment} without the
+ additions made to the build environment. For more information, see
+ \l {Build Environment}.
+
+ To run in a clean system environment, select \gui {Clean Environment}.
+
+ When running on a mobile device connected to the development host, \QC
+ fetches information about the \gui {Device Environment} from the device.
+ Usually, it does not make sense to edit the device environment.
+
\section1 Specifying a Custom Executable to Run
If you use CMake or the generic project type in \QC, or want