【问题标题】:Qt WebEngine with WebRTC for EmbeddedQt WebEngine 与嵌入式 WebRTC
【发布时间】:2018-04-25 09:55:54
【问题描述】:

我已经设置了一个交叉编译工具链,用于构建 Qt 应用程序等,以便使用 eglfs 在 Raspberry Pi 上运行。这没有问题。

我正在尝试编译支持 WebRTC 的 QtWebEngine 模块,但无法确定它拒绝启用 WebRTC 的原因。

在qtwebengine目录下运行qmake的输出:

brporter@fracked:~/raspi/qtwebengine$ ~/raspi/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
  WebRTC ................................. no
  Using system ninja ..................... no
  ALSA ................................... yes
  PulseAudio ............................. yes
  System libraries:
    re2 .................................. no
    ICU .................................. no
    libwebp and libwebpdemux ............. yes
    Opus ................................. no
    ffmpeg ............................... no

Qt is now configured for building. Just run 'make'.

尝试挖掘 qtwebengine mkspecs 并没有发现任何非常明显的东西,但我可能遗漏了一些东西。

【问题讨论】:

  • 3 年没有回应。我真的注定了!!!

标签: c++ linux qt


【解决方案1】:

我知道这已经过时了,但我也在为此苦苦挣扎。 我从this documentation 发现您可以使用-webengine-proprietary-codecs 来启用专有编解码器。事实证明,您还可以使用-webengine-webrtc 来启用 WebRTC ......或者至少这是配置后报告的内容。我还没有着手编译 Qt 并测试它是否真的有效。

【讨论】:

    猜你喜欢
    • 2020-05-14
    • 2019-08-16
    • 1970-01-01
    • 1970-01-01
    • 2016-07-08
    • 2016-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多