Compile Qt 5.13.2 with QtWebEngine issue
-
Instead posting some screenshots it would be nice to see the actual error which should have happened some lines above.
Hello!
Actually, there is no error it just skips to build the
QtWebEnginewhen building Qt (all modules). When buildingQtWebEngineseparately it displays only these issues, which I have added in the previous post and in the bug report.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 2For
x64everything compiles well, I think the problem is withninjapath when usingx64_x86 Cross Tools Command Prompt for VS. I will try to use the systemninjafromVS 2019. Thanks. -
I have added the
ninjapath from VS 2019 to environment variable, but it still skipsQtWebEnginebuild and no error is printed:
In the
config.logfile I found the following errors:> 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 2Qt 5.13.2compiles successfully, but for some reason it automatically skips theQtWebEnginebuild. -
I have checked the
config.logfromx64compilation and it displays the same errors butQtWebEnginecompiles successfully. I think, something is missing forx86.I think, it could be the issue with the latest Windows 10 version 1909 build 18363.476, because it uses Win Dev Kit 18362.1,
Qt 5.13.2was released: October 31, 2019. So, I think, it was built on previous Win 10 version 1903. I will try tomorrow to build it onVM. -
I have checked the
config.logfromx64compilation and it displays the same errors butQtWebEnginecompiles successfully. I think, something is missing forx86.I think, it could be the issue with the latest Windows 10 version 1909 build 18363.476, because it uses Win Dev Kit 18362.1,
Qt 5.13.2was released: October 31, 2019. So, I think, it was built on previous Win 10 version 1903. I will try tomorrow to build it onVM.@Cobra91151
Could you share how build qt with mysql?
You have a topic about how to build qt with mysql , but it need separately build Openssl and mysql libs .
Now QT5.13.2 has include OPENSSL , do you have simply build steps for qt with mysql? (or mariadb) -
Hello!
Currently, I am busy. I am working to fix the Qt 5.13.2
QtWebEnginebuild issue forx86architecture.I want to combine
mysql-5.7.28with the latestopenssl-1.1.1dandQtWebEngine. Qt 5.13.2 has older OpenSSL included. You can contact me in the chat, so we can discuss it. -
I have checked it on
VMon Windows 10 version 1903, but it still skips to buildQtWebEnginewhen buildingQt 5.13.2. I think, there is a bug. I will try to buildQt 5.12.X LTSand check if it compiles or not. -
I have tried to build
Qt 5.12.6 LTSwithQtWebEnginebut the same issue is present forx86architecture usingx64_x86 Cross Tools Command Prompt for VS. It compilesQtand skips theQtWebEnginebuild. I will switch back toQt 5.9.8 LTS. -
Ok. The problem was that older
Qt 5.9.8mixed up withQt 5.13.2because I had added paths forQt 5.9.8in thePATHenvironment variable. I have removed these paths and builtQtand then builtQtWebEnginemodule separately, because it still skipsQtWebEnginemodule when building allQtmodules. Anyway, I have figured it out and now it is all working except for thewindeployqt.exeutility, it is missing. Any ideas where to get or how to build thewindeployqt.exe? Thanks. -
So, I have found that
windeployqt.exeutility is actually built (it is exists in the..qttools\bindirectory) but for some reason it does not copy to the appropriate directory when I runjom installcommand. -
Ok. I have compiled
Qt 5.13.2forx86successfully. I have built some tools separately, because it skips them or just do not copy to the appropriate directory usingjom installcommand. It is strange, because when building forx64architecture all tools are built and copied correctly. Anyway, now I haveQt 5.13.2formsvc2017,msvc2017_64,msvc2019,msvc2019_64.