Before I start explaining the problem – yes I looked in the Qt forums and website before coming here.
I downloaded and installed the Qt libraries and the IDE. After the installation I got the following:
http://store.picbg.net/pubpic/04/59/4ce35a1b489a0459.png
after I clicked on the command prompt icon I got the following:
http://store.picbg.net/pubpic/79/13/0d46b97041da7913.jpg
When I type “vcvarsall.bat” I get and invalid command error. I am obviously doing something wrong, question is – what exactly?
Your error simply means that
vcvarsall.batis not in a folder that is listed in yourPATHenvironment variable. You can fix that in two ways.PATHenvironment variable to include the folder where vcvarsall.bat is located.cdinto the folder wherevcvarsall.batis located and callvcvarsall.batfrom there.In my case (and by default),
vcvarsall.batis located in the following directory:C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.batEDIT: For Visual Studio 2017, the location has changed. It is now at:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat