qtwebengine编译

系统:银河麒麟v10桌面版 arm64

img


内核:Linux rich-FT-2000-4 5.4.18-35-generic #21-KYLINOS SMP Tue Jul 20 13:31:32 UTC 2021 aarch64 GNU/Linux

qt源码:qt-everywhere-src-5.15.0.tar

编译脚本:
#!/bin/sh
rm -f ./config.cache
./../qt-everywhere-src-5.15.0/configure -prefix /home/rich/qt5150 -confirm-license -opensource -release -nomake examples -nomake tests -skip qt3d -qt-libjpeg -qt-libpng -qt-zlib -qt-harfbuzz -qt-tiff -qt-webp -webengine-embedded-build -c++std c++14 -fontconfig -opengl -system-freetype -dbus -alsa -gif -pulseaudio -xcb -xcb-xlib -icu -qt-pcre -accessibility

make完毕后,提示:make[4]: [Makefile.gn_run:1197: run_ninja] 错误 1

img


编译qtwebengine失败
打开makefile.gn_run这个文件:

img

无论用5.12.11还是5.15.0,最后make都提示run_ninja报错,qtwebengine编译不了,问题可能出在哪里呢?

img


make前

文章:编译QtWebEngine模块支持音视频播放 中也许有你想要的答案,请看下吧