Qt Multimedia 的注意事项
本页讨论在 Linux 上使用Qt Multimedia 的注意事项。
音频后端要求
Qt Multimedia 在 Linux 上使用音频功能需要 PulseAudio。实验性的 ALSA 后端将在未来的 Qt 版本中被弃用。在此之前,需要社区贡献来修复该后端的问题。
对于在嵌入式 Linux 上使用 GStreamer 后端的应用程序,有关 PulseAudio 的其他要求,请参阅Qt Multimedia GStreamer 后端。
在 Linux 上使用 Wayland 合成器的限制
屏幕捕捉功能需要安装
- 通过XDG 桌面门户支持的ScreenCast服务。
- PipeWire(0.3)。
由于 Wayland 协议的限制,只有在激活QScreenCapture
实例时,才能通过操作系统显示的向导选择当前屏幕。有关其他详细信息,请参阅QScreenCapture 类文档。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.