Qt creator: qmake is not recognized

qmakeqtqt-creator

I am trying to understand 'qmake' by following this tutorial . but when I come the the following command:

qmake -o Makefile hello.pro

my command line console shows me this message:

'qmake' is not recognized as an internal or external command, operable program or batch file

I understood that qmake is part of Qt creator and thus it should be executed whenever I run it within my project's folder. so, why it is not recognized ?

Best Solution

In the start menu entry that was created by the installer for Qt, you should find an item that opens a command prompt with all the needed environment variables (including the PATH) already set. For my Qt 5.0.2 install using MingW, it is called "Qt 5.0.2 for Desktop (MinGW 4.7)".

Related Question