Laziness is such a great virtue, sometimes 😀
Yesterday I was sitting in front of my computer, ready to start an application from scratch, and I felt very bored when I thought about all the files I need to create every time in order to have a minimal and functional application to start with. You have to write a CMakeLists file (and every time I forget to set some vars, or make some stupid typo), a .desktop file, a main.cpp source file and a class.h/cpp files. Oh God, why QtCreator doesn’t ship with some simple and handy template for KDE projects?
So I sat down, learned how to build a custom template wizard, and here you go: I made three project wizard: one for KDE console app, one for GUI ones, and the last is a plasmoid wizard template 🙂
And, of course, now I’m gonna showing you some screenshots!
Of course these wizards are far from being complete, so any comment/suggestion/critics is highly appreciated 🙂
You can grab the templates by cloning my repository:
$git clone git://anongit.kde.org/scratch/casella/qtcreator_kde_wizards
and then simply copy the folders under $HOME/.config/Nokia/qtcreator/templates/wizards or /share/qtcreator/templates/wizards/ .