How to customise Qt, so it add certain functions in every new cppf file?
问题 I am a newbie to Qt, and I was wondering if it was possible to automatically add certain functions declaration in .h file and definition in .cpp file, whenever we add new c++ source file. For ex, if I add new cpp source file(cpp + h file), Qt should add automatically add function initialiseApp(), its declaration in h file and its definition in cpp file. This should also work if I create new project. This makes my work easy as I have to add certain functions in all cpp files. Thanks :) EDIT: