Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Template for new C++ Class?
Is there a way to better customize a template for creating new c++ class for the project? Much like when saying I want my class to inherit QObject it automatically adds the correct includes and fills in the parent class and adds the constructor components as well.
When I use the <Custom> class it only fills in the parent class as :public <Custom> but does not include header and set up constructors properly - I have to do that manually every time. Is there a way I can automate this part when generating new C++ classes that inherit my custom class?
Thanks in advance,
Oh well I am just making a template.h and template.cpp and I am just copy and pasting and replacing all Template->MyClass... That seems to work okay for now.
@MrShawn Feel free to join the discussion at this bug, funnily it has recent activity despite beeing 8 years old.
I did add something, it is really weird that just today others have put comments... Thanks!