I think jpn asked you for the g++ command called by make. What parameters are passed to it? Especially look at the include paths. The must contain %QTDIR%/include

And make sure QTDIR is defined properly.