Ok, I seem to have got this figured out. We need to include the location of the header files in the compiler options. Effectively we need to have something like
This will make the necessary modifications to the Makefile when you build the project.
I hope someone finds this useful. It took me a day of googling, searching on ubuntu forums and a helpful dev at #qt-creator on freenode to figure this out.