Buahhh... I don't remember - this was like 5 years ago!
But as far as I can remember, it was as trivial as selecting "add include folder" (or something to that extent) and selecting the Qt include folder.