C++コード用のライセンスヘッダーテンプレートを追加する
環境設定>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.