Can't install Qt5 with visual studio
-
Hi,
I'm trying to install Qt to make it work with visual studio but this error keeps appearing:
@'python' is not recognized as an internal or external comma
operable program or batch file.
NMAKE : fatal error U1077: 'python' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Vis
N\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.@I've installed python and perl and copied the exe files in the qt folder as shown:
!http://dl.dropbox.com/u/40777305/QTCapture.PNG(QT folder)!
I've also set the environment as shown:
!http://dl.dropbox.com/u/40777305/QTCapture2.PNG(QT environment variable)!Please anyone help me as I have a project and the error found here in this question http://qt-project.org/forums/viewthread/26219/ keeps poping up.
Many Thanks
-
Apparently are your pictures not in a public folder of dropbox. They are not available for others.
I guess you followed already "this guide":http://qt-project.org/doc/qt-5.0/qtdoc/install-win.html
An issue could be that you need to restart msvc when changing the environment outside. Did you check that you can access python under msvc cmd prompt?
msvc may have changed the environment settings for its cmd prompt. -
could you tell me how to check accessing the python under msvc cmd prompt? and I've uploaded the photos again.
Many Thanks -
You can check if the path environment is also set when have opened the visual studio command prompt. Just type "path" and press return.
For python you probably can simply type "python" and press return. It should return with an error message. When it is returning an error message, you know where to dig further.
Note: this is some advice, what I would do. I have compiled already a couple of versions. However, I do not know any of the details with python and if the command is correct in your case. You might have to check with some documentation.