Search code examples
qtqt-creatorqmake

Qt creator: qmake is not recognized


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 ?


Solution

  • On Windows, you can add path to qmake to PATH or run qmake from directory where it placed, or use absolute path.