Perforce
Perforce 是由 Perforce 软件公司开发的一种快速软件配置管理系统。
注意: 启用 Perforce 插件才能使用它。
配置 Perforce
要设置 Perforce 首选项,请选择Preferences >Version Control >Perforce :

在P4 command 中,设置命令行客户端可执行文件的路径。
在P4 user 、P4 client 和P4 port 中设置工作区详细信息。
使用配置文件
要为多个项目单独指定工作区详细信息,可使用配置文件:
- 在顶层项目目录中为每个项目创建
p4config.txt配置文件。 - 转到Preferences >Version Control >Perforce 。
- 清除Environment Variables 。
- 要设置
P4CONFIG使用您创建的文件,请从命令行运行一次以下命令:p4 set P4CONFIG=p4config.txt
有关使用P4CONFIG 变量的更多信息,请参阅Perforce:P4CONFIG。
其他 Perforce 功能
除了使用常用 VCS 功能中描述的标准版本控制系统功能外,还可以在Tools >Perforce 中访问其他功能。
| 菜单项 | 说明 |
|---|---|
| Edit File | 在客户端工作区中打开文件进行编辑。 |
| Opened | 列出打开编辑的文件。 |
| Pending Changes | 分组提交文件。 |
| Describe | 查看更改列表及其中文件的相关信息。 |
另请参阅 启用和禁用插件、设置版本控制系统、使用常用 VCS 功能和版本控制系统。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.