Doc: Describe using Perforce config files on Linux

Fixes: QTCREATORBUG-30816
Change-Id: I52adaa3a5f216a503c7e22c8e4905146ee778f3b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Leena Miettinen
2024-05-16 16:58:25 +02:00
parent 58abfc52e5
commit 2b23a359d4

View File

@@ -35,11 +35,29 @@
Set workspace details in \uicontrol {P4 user}, \uicontrol {P4 client}, and
\uicontrol {P4 port}.
\section1 Using Configuration Files
To specify the details individually for several projects, use configuration
files instead. Create a \c {p4config.txt} configuration file for each
project in the top level project directory, and run
\c{p4 set P4CONFIG=p4config.txt} once. You must deselect the
\uicontrol {Environment Variables} check box.
files:
\list 1
\li Create a \c {p4config.txt} configuration file for each project in the
top level project directory.
\li Go to \preferences > \uicontrol {Version Control} >
\uicontrol Perforce.
\li Clear \uicontrol {Environment Variables}.
\li Run the following command from the command line once:
\list
\li On Windows:
\badcode
p4 set P4CONFIG=p4config.txt
\endcode
\li On Linux
\badcode
export P4CONFIG=<path-to-p4config.txt>
\endcode
\endlist
\endlist
\section1 Editing Files