QMAKESPEC is an environment variable and qmake cannot set it.