【问题标题】:Cross Compiling Qt 5.10.1 for Raspberry Pi 3 not compiling webEngine为 Raspberry Pi 3 交叉编译 Qt 5.10.1 未编译 webEngine
【发布时间】: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


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-28
      • 2020-11-16
      • 1970-01-01
      • 2019-11-23
      • 2016-01-21
      • 2021-12-17
      相关资源
      最近更新 更多