Doc: Use "p4 set P4CONFIG" on all platforms

Fixes: QTCREATORBUG-30816
Change-Id: Id95062f24bcd2b225581f3158c779caac6780a14
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Leena Miettinen
2024-05-17 10:23:49 +02:00
parent c7803fe6ae
commit ced23f3f89
2 changed files with 14 additions and 13 deletions

View File

@@ -1,6 +1,10 @@
// Copyright (C) 2022 The Qt Company Ltd. // Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\externalpage https://www.perforce.com/manuals/cmdref/Content/CmdRef/P4CONFIG.html
\title Perforce: P4CONFIG
*/
/*! /*!
\externalpage https://doc.qt.io/Boot2Qt/index.html \externalpage https://doc.qt.io/Boot2Qt/index.html
\title Boot2Qt: Documentation \title Boot2Qt: Documentation

View File

@@ -37,8 +37,8 @@
\section1 Using Configuration Files \section1 Using Configuration Files
To specify the details individually for several projects, use configuration To specify workspace details individually for several projects, use
files: configuration files:
\list 1 \list 1
\li Create a \c {p4config.txt} configuration file for each project in the \li Create a \c {p4config.txt} configuration file for each project in the
@@ -46,19 +46,16 @@
\li Go to \preferences > \uicontrol {Version Control} > \li Go to \preferences > \uicontrol {Version Control} >
\uicontrol Perforce. \uicontrol Perforce.
\li Clear \uicontrol {Environment Variables}. \li Clear \uicontrol {Environment Variables}.
\li Run the following command from the command line once: \li To set \c P4CONFIG to use the file that you created, run the
\list following command from the command line once:
\li On Windows: \badcode
\badcode p4 set P4CONFIG=p4config.txt
p4 set P4CONFIG=p4config.txt \endcode
\endcode
\li On Linux
\badcode
export P4CONFIG=<path-to-p4config.txt>
\endcode
\endlist
\endlist \endlist
For more information about using the \c P4CONFIG variable, see
\l{Perforce: P4CONFIG}.
\section1 Editing Files \section1 Editing Files
In addition to the standard version control system functions described in In addition to the standard version control system functions described in