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.

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