Sorry I should have been clearer the file exists, and QtCreator is installed. The problem is none of the files in templates or the sub folders appear to relate to the new class template.
Sorry I should have been clearer the file exists, and QtCreator is installed. The problem is none of the files in templates or the sub folders appear to relate to the new class template.
I also wanted to know this, since I much prefer having `#pragma once` to the old and hacky #include guards.
Unfortunately it is all hard-coded so you would need to recompile QtCreator to change the template:
https://qt.gitorious.org/qt-creator/...izard.cpp#L199
At least those "old and hacky" include guards are guaranteed to work everywhere unlike the non-standard "#pragma once". Feel free to propose the patch to make this either fully templated or optionally use the pragma.
Bookmarks