Ustawianie preferencji nazewnictwa plików C++

Gdy używasz kreatora nowych plików do utworzenia pliku nagłówkowego i źródłowego C++ dla nowej klasy w projekcie C++, nazwy tych plików są oparte na nazwie klasy. Aby zmienić domyślny sufiks pliku dla projektu, wybierz opcję „ Projects ” > „ Project Settings ” > „ C++ File Naming ”.

Ustawienia nazewnictwa plików w języku C++ dla projektu

W polu „ License template ” wprowadź predefiniowane zmienne kreatora, aby określić ścieżkę i nazwę pliku licencji, która ma być używana w plikach źródłowych i nagłówkowych.

Aby globalnie zmienić ustawienia, wybierz opcję „ Preferences ” > „ C++ ” > „ File Naming ”.

Zobacz także: Tworzenie klas C++ i Korzystanie z kreatorów projektów.

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.