Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80278

QtWebEngine skips to build using x64_x86 Cross Tools Command Prompt for VS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.13.2
    • WebEngine
    • None
    • Windows 10 version 1909 build 18363.476
      32 GB RAM
    • Windows

    Description

      Hello!

      When I tried to build Qt 5.13.2 for x86 architecture with QtWebEngine it fails to build. I tried it several times using VS 2017 and VS 2019. It was successfully built only for x64 architecture using VS 2017 and VS 2019. To build for x86 I use x64_x86 Cross Tools Command Prompt for VS, but it only build the Qt and skips to build QtWebEngine.

      When I tried to build it separately, I get the issues:

      ninja: build stopped: subcommand failed.
      jom: C:\QtBuild\QtWebEngine\src\core\Makefile.gn_run.Release [run_ninja] Error 1
      jom: C:\QtBuild\QtWebEngine\src\core\Makefile.gn_run [release] Error 2
      jom: C:\QtBuild\QtWebEngine\src\core\Makefile [sub-gn_run-pro-make_first] Error 2
      jom: C:\QtBuild\QtWebEngine\src\Makefile [sub-core-make_first] Error 2
      jom: C:\QtBuild\QtWebEngine\Makefile [sub-src-make_first] Error 2
      

      Please check out the attached screenshots. For some reason it only fails to build for x86 architecture. Also, I have attached the config.log. I have checked it and found the following issues:

      > main.cpp(2): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\alloca_h\Makefile [main.obj] Error 2
      
      > main.c(5): fatal error C1189: #error:  __STDC_VERSION__ must be >= 199901L
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\c99\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\posix_fallocate\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'sys/eventfd.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\eventfd\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'sys/inotify.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\inotify\Makefile [main.obj] Error 2
      
      > main.cpp(4): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\cloexec\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\getifaddrs\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\ipv6ifname\Makefile [main.obj] Error 2
      
      > main.cpp(5): fatal error C1083: Cannot open include file: 'linux/input.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\evdev\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'linux/fb.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\linuxfb\Makefile [main.obj] Error 2

      I have checked the config.log from x64 compilation and it displays the same errors but QtWebEngine compiles successfully. Thanks.

      Attachments

        1. QtWebEngineProcess.exe.10584.dmp
          2.85 MB
        2. QtWebEngine build failed - VS 2019 x86.png
          QtWebEngine build failed - VS 2019 x86.png
          50 kB
        3. QtWebEngine build failed VS 2017 x86.png
          QtWebEngine build failed VS 2017 x86.png
          49 kB
        4. QtWebEngine_module_build.gif
          QtWebEngine_module_build.gif
          1.68 MB
        5. Qt built but QtWebEngine skipped.png
          Qt built but QtWebEngine skipped.png
          119 kB
        6. Output4.txt
          1.84 MB
        7. Output3.txt
          3 kB
        8. output2.txt
          1020 kB
        9. output1.txt
          45 kB
        10. config.summary
          10 kB
        11. config.summary
          11 kB
        12. config.log
          128 kB
        13. config.log
          123 kB
        14. config.log
          128 kB
        15. 2019-11-26_220234.png
          2019-11-26_220234.png
          46 kB
        16. 2019-11-26_220225.png
          2019-11-26_220225.png
          43 kB
        17. 2019-11-26_220214.png
          2019-11-26_220214.png
          49 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            cobra91151 Ruslan Sydorvych
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes