Is there a way to change the file template Qt Creator uses when creating a new file? I looked around in the options but couldn't find anything.
Is there a way to change the file template Qt Creator uses when creating a new file? I looked around in the options but couldn't find anything.
*bump*
Anyone know the answer to this?
have a look at qtsdk-XYZ/share/qtcreator/templates/qt4project there you can edit the template files.
I looked in that directory but don't see any templates for default source and header files.
All I see are:
main.cpp - template for main source file
mywidget.cpp - template for widget source
mywidget.h - template for widget header
mywidget_form.cpp - template for widget UI form source
mywidget_form.h - template for widget UI form header
widget.ui - template for user interface XML file
Yes, I mean a straight-up C++ header file, i.e. not a widget.
Bookmarks