为 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.