C++コード用のライセンスヘッダーテンプレートを追加する

環境設定>C++ >File Naming >License template で、C++用のライセンスヘッダーを持つファイルを指定します。

C++環境設定のファイル名タブ

ライセンス ファイルには、%% で囲まれた特別なプレースホルダが含まれている場合があります:

  1. %YEAR%:年
  2. %MONTH%:月
  3. %DAY%:月
  4. %DATE%:日付
  5. %USER%:ユーザー名
  6. %FILENAME%:ファイル名
  7. %CLASS%:クラス名(該当する場合)
  8. %$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.