From 01d071537815e4fbe8c26e2324155734e4ffd734 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Tue, 22 Jul 2014 14:45:07 +0200 Subject: [PATCH] Doc: update info about setting Qt in PATH Use a variable for the path to the bin directories, because the example PATH is most likely wrong. Add a link to "Using Command Line Options" and move the note there, because it is advanced usage (needed only for self-built Qt Creator). However, these developers will probably know how to set the PATH. Change-Id: I6d6563f0c7d6aebcc4a5887f9cbb86b5d7e1676a Reviewed-by: Eike Ziller Reviewed-by: hjk --- doc/src/howto/creator-cli.qdoc | 9 +++++++++ doc/src/howto/creator-tips.qdoc | 6 +----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/src/howto/creator-cli.qdoc b/doc/src/howto/creator-cli.qdoc index 0f4b0f26a61..d339e9da4d3 100644 --- a/doc/src/howto/creator-cli.qdoc +++ b/doc/src/howto/creator-cli.qdoc @@ -60,6 +60,15 @@ \c {qtcreator .} + \note To run a self-built \QC from the command line on Windows, make sure + that the Qt installation directory is included in the PATH environment + variable. You can enter the following command on the command line to add Qt + to the path: + + \code + set PATH=\mingw\bin;c:\bin;%PATH% + \endcode + The following table summarizes the available options: \table diff --git a/doc/src/howto/creator-tips.qdoc b/doc/src/howto/creator-tips.qdoc index a5d35d185eb..e94f7495943 100644 --- a/doc/src/howto/creator-tips.qdoc +++ b/doc/src/howto/creator-tips.qdoc @@ -124,11 +124,7 @@ For example, running \tt{qtcreator somesession}, launches \QC and loads session somesession. - \note Make sure \QC is included in the PATH environment variable. - This can be done by typing the following in the command line: - \code - set PATH=c:\qtsdk\mingw\bin;c:\qtsdk\qt\bin;%PATH% - \endcode + For more information, see \l{Using Command Line Options}. \section1 Showing and Hiding the Sidebar