10

I installed Qt through Qt-SDK 2010.01.

How to run make on Qt's terminal now?

I have set the System path:

enter image description here

Qt path command prompt:

enter image description here

Please help. :( :(

Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411

1 Answers1

13

You should run mingw32-make instead of make.

If you want to be able to call it via make for simplicity, you might want to define an "alias" which runs mingw32-make. While I'm not very familiar with the CMD in windows, I think this should be possible with the following command:

set make=mingw32-make

However, I don't think this will be permanent. You might want to try to add a batch file make.bat in ...\mingw\bin which runs mingw32-make to achieve this. This batch file would however need to "forward" all additional arguments to mingw32-make. Maybe there are better ways to create a permanent alias, I don't know.

Maybe you also want to try the DOSKEY utility program to create a permanent alias.

leemes
  • 44,967
  • 21
  • 135
  • 183
  • Here's what I do to make a permanent alias: `copy mingw32-make.exe make.exe` in the `mingw\bin` directory. – Michael Burr Nov 05 '12 at 06:54
  • @MichaelBurr This is no alias. If `mingw32-make.exe` changes, `make.exe` will not. However, it hardly will change ever, I think. – leemes Nov 05 '12 at 07:37
  • @leemes: the comment was half joke. But, it is what I do, and I've found it to be reliable enough. – Michael Burr Nov 05 '12 at 22:11