I'm trying to compile Qt 5.9.1 from source on Windows 10 using msvc 2015. My process was as follows:

  1. Installed python 2.7.13, added it to PATH
  2. Set up the qt5vars.cmd file as specified in the documentation (which calls vcvarsall.bat amd64 and sets up PATH)
  3. Installed jom
  4. mkdir build-release, cd build-release
  5. ..\configure -prefix C:\Qt\5.9.1\msvc2015 -nomake examples -opensource
  6. jom (started compilation)


After a long time, this error pops up:

Qt Code:
  1. Microsoft (R) Program Maintenance Utility Version 14.10.25019.0
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.  
  4. call C:\Users\i00202504\Downloads\qt-everywhere-opensource-src-5.9.1\build-release\qtwebengine\src\core\ninja_wrapper.bat -C C:\Users\i00202504\Downloads\qt-everywhere-opensource-src-5.9.1\build-release\qtwebengine\src\core\Debug_x64 QtWebEngineCore
  5. ninja: Entering directory `C:\Users\i00202504\Downloads\qt-everywhere-opensource-src-5.9.1\build-release\qtwebengine\src\core\Debug_x64'
  6. [109/15221] COPY ../../../../../qtwebengine/src/3rdparty/c...emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
  7. FAILED: resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
  8. python ../../../../../qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py recursive-mirror ../../../../../qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png resources/inspector/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png
  9. Traceback (most recent call last):
  10. File "../../../../../qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py", line 324, in <module>
  11. sys.exit(main(sys.argv[1:]))
  12. File "../../../../../qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py", line 27, in main
  13. exit_code = executor.Dispatch(args)
  14. File "../../../../../qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py", line 69, in Dispatch
  15. return getattr(self, method)(*args[1:])
  16. File "../../../../../qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py", line 108, in ExecRecursiveMirror
  17. shutil.copy2(source, dest)
  18. File "C:\Python27\lib\shutil.py", line 130, in copy2
  19. copyfile(src, dst)
  20. File "C:\Python27\lib\shutil.py", line 82, in copyfile
  21. with open(src, 'rb') as fsrc:
  22. IOError: [Errno 2] No such file or directory: '../../../../../qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source/devtools/front_end/emulated_devices/google-nexus-5-horizontal-keyboard-1x.png'
  23. [114/15221] CXX obj/v8/v8_libbase/time.obj
  24. ninja: build stopped: subcommand failed.
  25. NMAKE : fatal error U1077: 'call' : return code '0x1'
  26. Stop.
  27. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\nmake.exe"' : return code '0x2'
  28. Stop.
  29. NMAKE : fatal error U1077: '(' : return code '0x2'
  30. Stop.
  31. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  32. Stop.
  33. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  34. Stop.
  35. NMAKE : fatal error U1077: 'cd' : return code '0x2'
  36. Stop.
To copy to clipboard, switch view to plain text mode 

What am I doing wrong?