- Qt 6.4
- Qt Multimedia
- QML Types
- cameraDevice
- Qt 6.4.2 Reference Documentation

# cameraDevice QML Basic Type

Describes a camera device. More...

The cameraDevice value type describes the properties of a camera device that is connected to the system.

The list of camera devices can be queried from the MediaDevices type. To select a certain camera device set it as the device on Camera.

     CaptureSession {
         camera: Camera {
             cameraDevice: mediaDevices.defaultVideoInput
         }
     }
     MediaDevices {
         id: mediaDevices
     }