As Amartel wrote in his answer, you must specify the correct version of qmake (check it by typing qmake --version in the console)
Your project may have been created using the wrong qmake executable, and some files will not be deleted even if you select nmake clean or clean it.
Check if there is a Makefile in the source tree after cleaning (these files usually contain the path to the used qt version and, if they are not restored correctly, point to the wrong Qt version).
source share