C++ 클래스 생성
C++ 프로젝트에 추가할 수 있는 새 클래스에 대한 C++ 헤더 파일 및 소스 파일을 생성하려면:
- File > New File > C/C++ > C++ Class > Choose 을 선택합니다.
- 클래스 이름, 기본 클래스, 헤더 파일 및 소스 파일을 지정합니다.

이 마법사는 네임스페이스를 지원합니다. 네임스페이스를 사용하려면 ‘ Class name ’ 필드에 정규화된 클래스 이름을 입력하십시오. 예: MyNamespace::MySubNamespace::MyClass. 입력하는 동안 마법사가 기존 네임스페이스와 클래스 이름을 제안합니다.
사용자 정의 프로젝트 및 클래스 마법사를 직접 만들 수도 있습니다.
‘파일 추가’, ‘C++ 파일 이름 지정 기본값 설정’, ‘프로젝트 마법사 사용’ 및 ‘사용자 지정 마법사’항목도 참조하십시오 .
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.