QCameraControl Class

The QCameraControl class is an abstract base class for classes that control still cameras or video cameras. More...

Header: #include <QCameraControl>
qmake: QT += multimedia
Inherits: QMediaControl

This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Public Types

enum PropertyChangeType { CaptureMode, ImageEncodingSettings, VideoEncodingSettings, Viewfinder, ViewfinderSettings }

Macros

Detailed Description

This service is provided by a QMediaService object via QMediaService::control(). It is used by QCamera.

The interface name of QCameraControl is org.qt-project.qt.cameracontrol/5.0 as defined in QCameraControl_iid.

See also QMediaService::requestControl() and QCamera.

Member Type Documentation

enum QCameraControl::PropertyChangeType

ConstantValueDescription
QCameraControl::CaptureMode1Indicates the capture mode is changed.
QCameraControl::ImageEncodingSettings2Image encoder settings are changed, including resolution.
QCameraControl::VideoEncodingSettings3Video encoder settings are changed, including audio, video and container settings.
QCameraControl::Viewfinder4Viewfinder is changed.
QCameraControl::ViewfinderSettings5Viewfinder settings are changed.

Macro Documentation

QCameraControl_iid

org.qt-project.qt.cameracontrol/5.0

Defines the interface name of the QCameraControl class.