Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
platform-notes-linux.qdoc
Go to the documentation of this file.
1// Copyright (C) 2024 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page qtmultimedia-linux.html
6\title Qt Multimedia on Linux
7\brief Platform notes for Linux
8
9This page discusses considerations for using Qt Multimedia on Linux.
10
11\section1 Audio backend requirements
12
13Qt Multimedia audio features on Linux require PipeWire or PulseAudio. PipeWire is the recommended
14backend on all modern Linux distributions, but PulseAudio will be used if PipeWire is not available.
15The experimental ALSA backend will be deprecated in future versions of Qt. Until then, community
16contributions are required to fix issues with this backend.
17
18For applications that use the GStreamer backend on embedded Linux, see
19\l{Qt Multimedia GStreamer backend} for additional PulseAudio requirements.
20
21\section1 Limitations on Linux using the Wayland compositor
22
23The screen capture feature requires the installation of:
24\list
25 \li The \l {https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.ScreenCast.html}{ScreenCast}
26 service supported via \l {https://flatpak.github.io/xdg-desktop-portal/docs/}{XDG Desktop Portal}.
27 \li \l {https://pipewire.org/}{PipeWire} (0.3).
28\endlist
29
30Due to restrictions of the Wayland protocol, the current screen can only be selected through
31the wizard displayed by the operation system when \c QScreenCapture instance is activated.
32For additional details, refer to the \l QScreenCapture class documentation.
33
34*/