Indstil præferencer for navngivning af C++-filer

Når du bruger guiden til nye filer til at oprette en C++-header- og kildefil til en ny klasse i et C++-projekt, baseres navnene på header- og kildefilen på klassens navn. For at ændre standardendelsen for en fil i et projekt skal du vælge " Projects " > " Project Settings " > " C++ File Naming".

Indstillinger for navngivning af C++-filer i et projekt

I feltet » License template « skal du indtaste foruddefinerede guidenvariabler for at angive stien og filnavnet på den licens, der skal bruges i kilde- og headerfilerne.

For at ændre indstillingerne globalt skal du vælge Preferences > C++ > File Naming.

Se også Opret C++-klasser og Brug projektguider.

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.