Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't install Qt5 with visual studio
Qt 6.11 is out! See what's new in the release blog

Can't install Qt5 with visual studio

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 5.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haggag87
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • H Offline
        H Offline
        haggag87
        wrote on last edited by
        #3

        could you tell me how to check accessing the python under msvc cmd prompt? and I've uploaded the photos again.
        Many Thanks

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          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.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved