C++ 코드용 라이선스 헤더 템플릿 추가

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