Tilføj en skabelon til licenshovedet for C++-kode

Angiv en fil, der indeholder en licenshovedtekst til C++, i Preferences > C++ > File Naming > License template.

Fanen »Filnavngivning« i C++-indstillingerne

Licensfilen kan indeholde særlige pladsholdere, der er angivet i %%, og som erstattes, når der genereres en ny fil:

  1. %YEAR%: År
  2. %MONTH%: Måned
  3. %DAY%: Dato
  4. %DATE%: Dato
  5. %USER%: Brugernavn
  6. %FILENAME%: Filnavn
  7. %CLASS%: Klassens navn (hvis relevant)
  8. %$VARIABLE%: Indholdet af miljøvariablen VARIABLE.

Derudover erstattes pladsholdere i form af %{..} med værdien af den tilsvarende Qt Creator -variabel.

Se også Brug af Qt Creator -variabler.

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.