Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.8.0.2
-
None
-
Window 10
Description
According to the documentation, you can use QCameraFormat to set the camera format, such as resolution, etc. In Qt5, this is QCameraViewfinderSettings, which has a setResolution method. In Qt 6, it changed to QCameraFormat and has related properties like
resolution , but it cannot be set. whether passing parameters or directly passing values like
QCameraFormat.resolution(w, h) or QCameraFormat.setResolution or QCameraFormat.resolution = QSize(w, h)