在Raspberry Pi上本地编译QtWebEngine

问题描述 投票:0回答:1

[我正在尝试在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个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.