W3cubDocs

/Qt

QPlatformCamera Class

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

Header: #include <QPlatformCamera>
CMake: find_package(Qt6 COMPONENTS Multimedia REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Multimedia)
qmake: QT += multimedia
Inherits: QObject

This class is deprecated. We strongly advise against using it in new code.

Signals

void error(int error, const QString &errorString)

Protected Functions

QPlatformCamera(QCamera *parent)

Detailed Description

Member Function Documentation

[protected] QPlatformCamera::QPlatformCamera(QCamera *parent)

Constructs a camera control object with parent.

[signal] void QPlatformCamera::error(int error, const QString &errorString)

Signal emitted when an error occurs with error code error and a description of the error errorString.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qplatformcamera.html