Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
5.13.2
-
None
-
Windows 10 version 1909 build 18363.476
32 GB RAM
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.