C++ ファイルの命名規則の設定

C++ プロジェクトで新しいクラス用の C++ ヘッダーファイルおよびソースファイルを作成する際、新規ファイルウィザードを使用すると、ヘッダーファイルとソースファイルの名前はクラス名に基づいて決定されます。プロジェクトのファイルのデフォルトの拡張子を変更するには、[Projects ] > [Project Settings ] > [C++ File Naming] の順に選択します。

プロジェクトの C++ ファイル命名設定

License template 」フィールドに、ソースファイルおよびヘッダーファイルで使用するライセンスのパスとファイル名を指定するための、あらかじめ定義されたウィザード変数を入力します。

設定をグローバルに変更するには、[Preferences ] > [C++ ] > [File Naming] を選択します。

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