diff --git a/doc/images/qtcreator-build-environment.png b/doc/images/qtcreator-build-environment.png new file mode 100644 index 0000000000000000000000000000000000000000..fe00b2e98e2c4c0e53d0ee40e3f632381092b14f 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 index 0000000000000000000000000000000000000000..27e1be044b33f6a63f147c5581f835961c162bbe Binary files /dev/null and b/doc/images/qtcreator-build-steps-custom.png differ diff --git a/doc/images/qtcreator-build-steps.png b/doc/images/qtcreator-build-steps.png index c629428f4ccd8eb0c50a55733fcd0a1ffbb4669d..7e506f515084acc224f3fe65b5b79c2adf7a35ec 100644 Binary files a/doc/images/qtcreator-build-steps.png and b/doc/images/qtcreator-build-steps.png differ diff --git a/doc/images/qtcreator-clean-steps.png b/doc/images/qtcreator-clean-steps.png index 778f06891668fc2b01c4e6f9faefce95fffa241d..6f99b3a998dc584827b64f0d3cafd34308c2119b 100644 Binary files a/doc/images/qtcreator-clean-steps.png and b/doc/images/qtcreator-clean-steps.png differ diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index f845ff81d197ec5f511fdfd828ed564a45a1d0a3..85a1ed9b74723b0b2376c2ae2d75645cec15ab02 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -3022,7 +3022,7 @@ \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 @@ -3035,6 +3035,23 @@ \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 @@ -3046,10 +3063,10 @@ 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 @@ -3066,6 +3083,8 @@ variables or add, reset and unset new variables based on your project requirements. + \image qtcreator-build-environment.png "Build Environment" + */