Error building Qt 5 from Git on Windows



  • 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.



  • 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.



  • Found the problem, its a bug with python 33.

    Switch to version 27.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.