Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
713 views
in Technique[技术] by (71.8m points)

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

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. :( :(

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 ...mingwin 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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...