Qt Multimedia QML Types

The QML types for Qt Multimedia support the basic use cases such as:

  • audio and video playback,
  • access camera and radio functionality,
  • record video,
  • and access camera settings.

The QML types can be imported into your application using the following import statement in your .qml file:

import QtMultimedia 5.8

QML types

Audio

Add audio playback to a scene

Camera

Access viewfinder frames, and take photos and movies

CameraCapture

An interface for capturing camera images

CameraExposure

An interface for exposure related camera settings

CameraFlash

An interface for flash related camera settings

CameraFocus

An interface for focus related camera settings

CameraImageProcessing

An interface for camera capture related settings

CameraRecorder

Controls video recording with the Camera

MediaPlayer

Add media playback to a scene

Playlist

For specifying a list of media to be played

PlaylistItem

Defines an item in a Playlist

QtMultimedia

Provides a global object with useful functions from Qt Multimedia

Radio

Access radio functionality from a QML application

RadioData

Access RDS data from a QML application

SoundEffect

Type provides a way to play sound effects in QML

Torch

Simple control over torch functionality

Video

A convenience type for showing a specified video

VideoOutput

Render video or camera viewfinder

© 2021 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.