Create your own project templates for Qt Creator
If you think that it is very troublesome to have lots of copy & paste of source code in creating a new project, I have a tool for you. It is qtcwizard, a software to convert your existing project into a project wizard. That is displayed in the New Dialog that opens when you choose File > New File or Project.
$ cd existing_project $ qtcwizard init generator.json created wizard.json created # Edit generator.json and wizard.json for customization $ qtcwizard install # Launch Qt Creator, choose File > New File or Project > Application > Example Project.
I have already converted a set of project templates for my company’s in-house and open source project into a collection. That is published on GitHub already.
You may take them as an example or simply use our template directly.
- Flux Application
- Qt Quick Unit Test
- Qt/QML Library Project (Travis and Appveyor enabled)
- and more...
It would be perfect, if this was in fact a wizard included in QtCreator :)