Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error building Qt 5 from Git on Windows

    General and Desktop
    2
    3
    1981
    Loading More Posts
    • 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.
    • V
      Violet Giraffe last edited by

      I'm trying to buil Qt 5 with VS2010 and this is what I eventually get:

      (set "PATH=K:\Qt\5\Built\qtbase..\gnuwin32\bin;%PATH%") && python K:/Qt/5/Built/qtwebkit/Source/WebCore/inspector/generate-inspector-protocol-version -o generated\InspectorProtocolVersion.h inspector\Inspector.json
      Self-test failedNMAKE : fatal error U1077: '(set' : return code '0x1'
      Stop.
      NMAKE : fatal error U1077: '(' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

      K:\Qt\5\Built\ is the path to my Qt repository.
      I have successfuly compiled it at work with the same configuration and VS2010. No idea what's wrong here.

      1 Reply Last reply Reply Quote 0
      • D
        deus last edited by

        I got the exact same output.
        Did you find a solution for this?

        Gnuwin binaries were already manually set in the path, though it seems they were appended in the process.

        I've set the QTDIR and QMKSPEC variables(probably unnecessary but there you go).

        But I've also got the binary installed QT already installed.

        1 Reply Last reply Reply Quote 0
        • D
          deus last edited by

          Found the problem, its a bug with python 33.

          Switch to version 27.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post