【发布时间】:2018-05-23 07:07:08
【问题描述】:
我正在尝试为我的树莓派交叉编译 Qt 库。我实际上让它工作了,但是我计划的项目最需要的模块没有编译。我需要 webengine 模块。
这是配置脚本的输出:
Qt WebEngine:
Embedded build ......................... yes
Pepper Plugins ......................... no
Printing and PDF ....................... no
Proprietary Codecs ..................... no
Spellchecker ........................... yes
Native Spellchecker .................... no
WebRTC ................................. no
Use System Ninja ....................... no
Geolocation ............................ yes
Use v8 snapshot ........................ yes
Use ALSA ............................... yes
Use PulseAudio ......................... yes
Optional system libraries used:
re2 .................................. no
icu .................................. no
libwebp, libwebpmux and libwebpdemux . yes
opus ................................. yes
ffmpeg ............................... no
libvpx ............................... no
snappy ............................... no
libsrtp .............................. no
glib ................................. yes
zlib ................................. yes
minizip .............................. yes
libevent ............................. yes
jsoncpp .............................. yes
protobuf ............................. no
libxml2 and libxslt .................. yes
lcms2 ................................ no
png .................................. yes
harfbuzz ............................. yes
Required system libraries:
fontconfig ........................... yes
dbus ................................. yes
nss .................................. yes
khr .................................. yes
glibc ................................ yes
Required system libraries for qpa-xcb:
libdrm ............................... yes
xcomposite ........................... no
xcursor .............................. no
xi ................................... no
xrandr ............................... no
xtst ................................. no
如您所见,我有所需的系统库。但是我需要 Qt WebEngine 标题下列出的所有内容吗?
编辑:我发现它为什么跳过 qtWebEngine:
V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not work. Please make sure you have 32-bit devel environment installed, or configure webengine with '-no-webengine-v8-snapshot'
QtWebEngine will not be built.
我不确定 V8 快照的用途以及安装程序为何无法使用 32 位编译器。
【问题讨论】:
标签: qt raspberry-pi cross-compiling