make is not recognized as an internal or external command - Qt SDK - Windows

眉间皱痕 提交于 2019-12-29 08:33:09

问题


I installed Qt through Qt-SDK 2010.01.

How to run make on Qt's terminal now?

I have set the System path:

Qt path command prompt:

Please help. :( :(


回答1:


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.



来源:https://stackoverflow.com/questions/13157068/make-is-not-recognized-as-an-internal-or-external-command-qt-sdk-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!