OSDN Git Service

Doc - availability of environment variables in custom build steps
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>
Mon, 4 Oct 2010 13:24:09 +0000 (15:24 +0200)
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>
Mon, 4 Oct 2010 13:24:55 +0000 (15:24 +0200)
Reviewed-by: Tobias Hunger
doc/images/qtcreator-build-environment.png [new file with mode: 0644]
doc/images/qtcreator-build-steps-custom.png [new file with mode: 0644]
doc/images/qtcreator-build-steps.png
doc/images/qtcreator-clean-steps.png
doc/qtcreator.qdoc

diff --git a/doc/images/qtcreator-build-environment.png b/doc/images/qtcreator-build-environment.png
new file mode 100644 (file)
index 0000000..fe00b2e
Binary files /dev/null and b/doc/images/qtcreator-build-environment.png differ
diff --git a/doc/images/qtcreator-build-steps-custom.png b/doc/images/qtcreator-build-steps-custom.png
new file mode 100644 (file)
index 0000000..27e1be0
Binary files /dev/null and b/doc/images/qtcreator-build-steps-custom.png differ
index c629428..7e506f5 100644 (file)
Binary files a/doc/images/qtcreator-build-steps.png and b/doc/images/qtcreator-build-steps.png differ
index 778f068..6f99b3a 100644 (file)
Binary files a/doc/images/qtcreator-clean-steps.png and b/doc/images/qtcreator-clean-steps.png differ
index f845ff8..85a1ed9 100644 (file)
                \note Shadow building is not supported by the Symbian build system.
                Also, shadow building on Windows is not supported for Maemo.
                If you only build for one target platform, you can deselect
-               the \gui{Shadow Build} checkbox.
+               the \gui{Shadow build} checkbox.
         \endlist
     \endlist
 
 
     \image qtcreator-build-steps.png "Build steps"
 
+    \section2 Adding Custom Build Steps
+
+    To add custom steps to the build settings, select \gui {Add Build Step >
+    Custom Process Step}.
+
+    By default, custom steps are disabled. To activate a custom step, select
+    the \gui{Enable custom process step} check-box.
+
+    \image qtcreator-build-steps-custom.png "Custom Process Step"
+
+    You can use any environment variables as values in the fields. For a list
+    of variable names, click \gui {Build Environment > Details}. You can specify
+    variables as ${VARNAME} or %VARNAME%. For example, ${BUILDDIR} or %BUILDDIR%.
+
+    \note Qt Creator sets SOURCEDIR and BUILDDIR as part of the build environment.
+    For more information, see \l{Build Environment}.
+
     \section1 Clean Steps
 
     You can use the cleaning process to remove intermediate files. This process
     You can define the cleaning steps for your builds in the \gui{Clean Steps}:
     \list
         \o To add a clean step using make or a custom process, click
-           \gui{Add clean step} and select the type of step you want to add.
+           \gui{Add Clean Step} and select the type of step you want to add.
 
-           By default, custom steps are disabled. Activate custom steps by
-           checking the \gui{Enable custom process step} check-box.
+           By default, custom steps are disabled. To activate a custom step,
+           select the \gui{Enable custom process step} check-box.
         \o To remove a clean step, click \gui{Remove Item}.
         \o To change the order of steps, click
            \inlineimage qtcreator-movestep.png
     variables or add, reset and unset new variables based on your project
     requirements.
 
+    \image qtcreator-build-environment.png "Build Environment"
+
 */