A little late, but I had have a solution. I just had to correct my $QTDIR variable.
After all, I had a similar problem on Ubuntu: I had have a qt path to opt/.. before my to QtSDK in my $PATH variable. After making the path to QtSDK and having a proper $QTDIR variable, it compiled like a charm, and the qt-components worked just fine :)
(except the meego related stuff, because I haven't installed all the libraries for it)