I have just installed kdevelop 4.0 on my Ubuntu machine and found that there are very few project templates (all are Qt related). I am not a qt developer and the previous versions of kdevelop had a lot of project templates. I am not sure how to get general C and C++ GTK templates.
A Screenshot from a older version of kdevelop: http://www.euclideanspace.com/software/language/cpp/kdevelop/kd2.gif
At this time there are no general C or C++ GTK templates in KDevelop 4.
just execute this command and you will have some new templates
sudo apt-get install kapptemplate
If you are using ubuntu, try installing the
kapptemplate
package. It doesn't contain as many templates as kdevelop 3 but many more than the predefined.