QMake Project on Gideon a5
Alexander Dymo
cloudtemple at mksat.net
Fri Jul 25 11:48:47 BST 2003
On Wednesday 23 July 2003 21:21, you wrote:
> I have a problem with changing the project specific options.
> I've changend the files with header information to my own files. If i
> create a new c++ file, these settings will be ignored. If i create a new
> class with the class wizard, the files will be used, but the templates for
> Author and so on will be ignored.
>
> Is this a known bug or what did i wrong? Can anyone give me the syntax and
> the possible values for defining an own header?
The possible values are
$EMAIL$
$AUTHOR$
$VERSION$
$DATE$
$YEAR$
$MODULE$
$FILENAME$
The previous default file templates for cppsupport were incorrect (they used
$VAR instead of $VAR$), I've just fixed them in cvs so please update.
If you want to define your custom templates, create a directory "templates"
in the project directory and create files named "cpp" and "h" there.
Those files will be used as templates everywhere (in "new class" and "new
file"). Note that you can also use Project Options | New File Wizard | Project
Types to customize templates for a given project and Settings | Configure
Gideon | New File Wizard | Global Types to customize global templates.
PS: somebody should write a documentation about templates in gideon,
they aren't so transparent for the first-time user.
--
Alexander Dymo
Ukrainian State Maritime Technical University, IT Department
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list