在 Ubuntu 上安装 QtWebengineView:“找不到合适版本的 dbus。不会构建 QtWebEngine。”

在 Ubuntu 上安装 QtWebengineView:“找不到合适版本的 dbus。不会构建 QtWebEngine。”

我正在尝试使用专有编解码器在 ubuntu 上安装 QtWebEngineView。

跑步:

➜  qtwebengine git:(c3c37b4e) ✗ /usr/local/Qt-5.12.1/bin/qmake -r -Wall -- -proprietary-codecs -ffmpeg                               
WARNING: /home/akiva/Programming/qt5/qtwebengine/configure.pri:94: Unescaped backslashes are deprecated
WARNING: /home/akiva/Programming/qt5/qtwebengine/configure.pri:94: Unescaped backslashes are deprecated

Running configuration tests...
Done running configuration tests.

Configure summary:

Qt WebEngine:
  Embedded build ......................... no
  Full debug information ................. no
  Pepper Plugins ......................... yes
  Printing and PDF ....................... yes
  Proprietary Codecs ..................... yes
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. yes
  Use System Ninja ....................... yes
  Geolocation ............................ yes
  WebChannel support ..................... yes
  Use v8 snapshot ........................ yes
  Kerberos Authentication ................ no
  Support qpa-xcb ........................ yes
  Use ALSA ............................... yes
  Use PulseAudio ......................... yes
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . yes
    opus ................................. yes
    ffmpeg ............................... yes
    libvpx ............................... no
    snappy ............................... no
    glib ................................. yes
    zlib ................................. yes
    minizip .............................. yes
    libevent ............................. yes
    jsoncpp .............................. yes
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. no
    harfbuzz ............................. yes
    freetype ............................. no
  Required system libraries:
    fontconfig ........................... yes
    dbus ................................. no
    nss .................................. yes
    khr .................................. yes
    glibc ................................ yes
  Required system libraries for qpa-xcb:
    x11 .................................. yes
    libdrm ............................... yes
    xcomposite ........................... yes
    xcursor .............................. yes
    xi ................................... yes
    xtst ................................. yes

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/Qt-5.12.1'.

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

WARNING: /usr/local/Qt-5.12.1/mkspecs/features/qt_parts.prf:17: Feature qt_build_config already included
WARNING: /usr/local/Qt-5.12.1/mkspecs/features/configure.prf:5: Feature configure_base already included
WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/configure.prf:3: Feature functions already included
WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:32: Excess colon in front of opening brace.
WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:56: Excess colon in front of opening brace.
WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:168: Stray AND operator in front of AND operator.

A suitable version of dbus could not be found.
QtWebEngine will not be built.

Dbus 已安装,但如何获取所需的版本?我需要更新到 19.04 吗?

相关内容