The QPlatformCamera class is an abstract base class for classes that control still cameras or video cameras. 更多...
头: | #include <QPlatformCamera> |
CMake: |
find_package(Qt6 COMPONENTS Multimedia REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Multimedia) |
qmake: | QT += multimedia |
继承: | QObject |
This class is deprecated. We strongly advise against using it in new code.
void | error (int error , const QString & errorString ) |
QPlatformCamera (QCamera * parent ) |
[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 .