c++ template
-
Do you mean you want to modify the project template when you choose "Plain C++ application" in Qt Creator's new project wizard?
If that's the case then you can edit the templates in the Qt Creator's directory. For plain c++ app the file you want to modify is
<QtCreator install dir>/share/qtcreator/templates/wizards/projects/plaincpp/main.cpp
. -
I used
<QtCreator install dir>
as a placeholder. It's the directory where Qt Creator is installed. I don't know what that is on your computer.
I know nothing about macs but I imagine there is a way in that OS to find files/folders right? -
Hi I am also on 10.11, in my case the file is the directory
/Users/henry/Qt/Qt Creator.app/Contents/Resources/templates/wizards/projects/plaincpp
and it is called main.cppEdit: if you cannot go inside Qt Creator.app using Apple's Finder, try right-clicking and select "Show Package Contents"