Qt5: qmake’s mkspec path location
I’ve downloaded the Qt5 beta snapshot  on both Linux and Windows. In both cases the qmake is looking in a location which is specific to who I assume is a Qt developer:
Could not find mkspecs for your QMAKESPEC after trying: D:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-5.0.0/qtbase/mkspecs
Now I have installed this Qt5 build in: C:\Qt\5.0.0-beta-snapshot\ and updated my path environment variable, qmake is definitely being used from where I expect it to be, however its not looking in the correct path for the mkspecs.
The question is: How can I override where qmake looks for the QMAKESPEC’s config files/folders?
QTDIR environment variable.Set the
Thanks but that didn’t help, is that the only way to set the QMAKESPEC folder in qmake?
Could not find mkspecs for your QMAKESPEC after trying: D:/jenkins/workspace/qt5-beta-bin-msvc2010/qt-everywhere-opensource-src-
Error processing project file: diagram.pro