【问题标题】:Compile QtWebEngine natively on Raspberry Pi在 Raspberry Pi 上本地编译 QtWebEngine
【发布时间】:2019-06-13 19:10:46
【问题描述】:

我正在尝试在 Raspberry Pi 3 上编译 QtWebEngine。整个 Qt 库编译正常,但是当我尝试使用 QtWebEngine 在目录中运行 make 时,我得到了这个:

pi@raspberrypi:~/qt5/qtwebengine$ /usr/local/qt5/bin/qmake 

Running configuration tests...
Done running configuration tests.

Configure summary:

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 ............................ no
  WebChannel support ..................... yes
  Use v8 snapshot ........................ yes
  Kerberos Authentication ................ no
  Building v8 snapshot supported ......... yes
  Use ALSA ............................... yes
  Use PulseAudio ......................... no
      Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    glib ................................. no
    zlib ................................. no
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. no
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. yes
    harfbuzz ............................. no
    freetype ............................. no
    x11 .................................. no
  Required system libraries:
    fontconfig ........................... no
    dbus ................................. no
    nss .................................. no
    khr .................................. yes
    glibc ................................ yes
  Required system libraries for qpa-xcb:
    libdrm ............................... no
    xcomposite ........................... no
    xcursor .............................. no
    xi ................................... no
    xtst ................................. no

WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine.

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/usr/local/qt5'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.


pkg-config is required
QtWebEngine will not be built.

问题:

  1. 为什么不能编译?因为fontconfigdbusnss 库?

  2. 我尝试安装libfontconfig1-dev,但它已经安装了。 dbusnss 也是如此。

  3. 我做错了什么?

【问题讨论】:

    标签: qt qt5 raspberry-pi3 pkg-config qtwebengine


    【解决方案1】:

    您缺少 pkg-config 并且未检测到库。注意“pkg-config 是必需的”。很可能您在没有 pkg​​-config 支持的情况下编译了 qt。

    【讨论】:

      猜你喜欢
      • 2020-11-16
      • 1970-01-01
      • 2021-12-19
      • 1970-01-01
      • 1970-01-01
      • 2016-09-22
      • 1970-01-01
      • 2012-06-28
      • 2021-04-01
      相关资源
      最近更新 更多