Complete newbie: Getting ‘make’ is not recognized as an internal or external command, operable program or batch file.
Hi, I’m following the beginner tutorial. Have created cpp file and run qmake to create project but make or nmake are not recognised.
I have downloaded the 1.1.2 SDK and am using a windows Vista machine.
Any help much appreciated.
I am using the mingw desktop that automatically sets the path when you use it. I checked the path and it included both mingw/bin folder and the Desktop\Qt\4.7.3\mingw\bin. All the tutorials, including those on the QT website say use make (or maybe nmake on windows). I understood that QT included a make.bat file to launch mingw-make.
I’ll try mingw-make.
Thanks for all the quick replies. Awesome.
Nice! Now good luck with the other examples and have fun using Qt :-)
And of course, you’re welcome to ask here if you have further questions. And don’t miss the good documentation on http://developer.qt.nokia.com/doc/qt-4.7/ :)
OK – I’ve now solved this!
It seems that
QT Qt used to have a make.bat file to call mingw32-make but now no longer includes this for some reason. A number of places on the web – forums and stackoverflow etc – have a discussion of this and the answer is to create your own batch file and put it in the mingw\bin folder, with the following command;
Hopefully this may help other newbies, especially as every beginner tutorial and book seems to start on the command line and assumes that make will work!!