交叉编译Qt 5.10.1 for Raspberry Pi 3没有编译webEngine

时间:2018-05-23 07:07:08

标签: qt raspberry-pi cross-compiling

我正在尝试为我的raspberry pi交叉编译Qt库。我实际上让它工作,但我正在计划的项目我最需要的模块没有编译。我需要webengine模块。

以下是configure脚本的输出:

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位编译器的原因。

1 个答案:

答案 0 :(得分:0)

这可能是您的问题:https://bugreports.qt.io/browse/QTBUG-67983

如您所见,此问题已在Qt 5.11.1中修复。不幸的是,还有另一个错误将阻止您编译QtWebengine(包括解决方法):https://bugreports.qt.io/browse/QTBUG-65256