If your Qt SDK installed in D:\Qt2010.5\ ,
Then ,%QTDIR% should be D:\Qt2010.5\qt\ instead of D:\Qt2010.5\

If you just install Qt Framework, then %QTDIR% is the directory where you install it, such as D:\4.7.3