Qt Multimedia Module C++ Classes
The Qt Multimedia module provides audio, video and camera functionality. More...
Namespaces
Contains enums used by the audio classes |
Classes
Represents a collection of audio samples with a specific format and sample rate | |
Implements decoding audio | |
Information about audio devices and their functionality | |
Stores audio stream parameter information | |
Represents an input channel for audio | |
Represents an output channel for audio | |
Interface for sending audio data to an audio output device | |
Interface for receiving audio data from an audio input device | |
Interface for system camera devices | |
General information about camera devices | |
Describes a video format supported by a camera device | |
Used for the recording of media content | |
Allows capturing of audio and video content | |
Information about available multimedia input and output devices | |
Describes an encoding format for a multimedia file or stream | |
Provides meta-data for media files | |
Allows the playing of a media files | |
Used for encoding and recording a capture session | |
Represents a set of zero or more disjoint time intervals | |
QMediaTimeRange::Interval class represents a time interval with integer precision | |
Base class for audio backends | |
Access for QAudioSource to access the audio device provided by the plugin | |
Way to play low latency sound effects | |
Represents a frame of video data | |
Specifies the stream format of a video presentation surface | |
Represents a generic sink for video data |
Detailed Description
To enable Qt Multimedia in a project, add this directive into your C++ files:
#include <QtMultimedia>
Using the Module
Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.
Building with CMake
Use the find_package()
command to locate the needed module components in the Qt6
package:
find_package(Qt6 COMPONENTS Multimedia REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Multimedia)