…same principles apply
I asked a similar question some time ago (I was really confused), some answers are there:
I had found also a post somewhere that had to do with .kdev4 directory to paste includes and defines to make it work…
A lot of info here also:
Cheers