Remove QTDIR dependency from moc autotest
Remove QTDIR dependency from moc autotest

Use qmake -query QT_INSTALL_HEADERS at test startup time instead of
relying on the dead QTDIR environment variable.

Reviewed-by: Bradley T. Hughes <0ae192d11e959c406c5d7d0d721d3928a51d2150@nokia.com>
(cherry picked from commit d071b3528f51aaded18029f2f22e8db03e47a2a6)

igor-sfdc/qt-wk,RLovelett/qt,KDE/qt,RLovelett/qt,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,KDE/qt,KDE/qt,KDE/qt,KDE/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,radekp/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,KDE/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,RLovelett/qt,KDE/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,radekp/qt,KDE/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,radekp/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt