Is there a chance to define a central header (remark) being included in all source code files (automatically) in QtCreator?
The header shall contain just a remark with legal information, copyright, web site of the project etc.
I want to keep it in one central place in order I need to change it. If I manually add it to each .h
/ .cpp
file, I need to change it everywhere in case I want to make adjustments.
This is just an addition to the answer by claudio. (Cant comments since I have too few reputation points)
Other placeholders that can be used in the license file:
%YEAR%: Year
%MONTH%: Month
%DAY%: Day of the month
%DATE%: Date
%USER%: User name
%FILENAME%: File name
%CLASS%: Class name (if applicable)
%$VARIABLE%: Contents of environment variable VARIABLE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With