为 C++ 代码添加许可证头模板
在Preferences >C++ >File Naming >License template 中指定一个有 C++ 许可证头的文件。

许可证文件可能有特殊的占位符,用%% 括起来,生成新文件时替换这些占位符:
%YEAR%:年份%MONTH%:月%DAY%:月日%DATE%:日期%USER%:用户名%FILENAME%:文件名%CLASS%:类名(如适用)%$VARIABLE%:环境变量VARIABLE的内容。
此外,%{...} 形式的占位符将被相应Qt Creator 变量的值替换。
另请参阅 使用Qt Creator 变量。
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.