qCamera
-
@Negar_mg If you check https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimediawidgets/camera/camera.cpp?h=5.15 you will see
ui->captureWidget->setTabEnabled(1, (m_camera->isCaptureModeSupported(QCamera::CaptureVideo)));
So, it sets the "Video" tab to enabled if m_camera->isCaptureModeSupported(QCamera::CaptureVideo) returns true. It looks like for your camera it returns false. I don't know what you can do to change this.
Does your camera support video recording? -
@Negar_mg If you check https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimediawidgets/camera/camera.cpp?h=5.15 you will see
ui->captureWidget->setTabEnabled(1, (m_camera->isCaptureModeSupported(QCamera::CaptureVideo)));
So, it sets the "Video" tab to enabled if m_camera->isCaptureModeSupported(QCamera::CaptureVideo) returns true. It looks like for your camera it returns false. I don't know what you can do to change this.
Does your camera support video recording? -
@jsulm
I tested this camera with opencv and it had no problem,
On the other hand, I tested this program on a laptop, with a webcam, and it was the same.
Is it possible that the problem is using Windows? -
Can it be added to the new kit?
Yes, install current Qt version for your compiler, then you should get a new Kit automatically.
If you used Qt Online Installer to install Qt, then you can use Qt Maintenance Tool (you can find it in the root folder of your Qt set-up, c:\qt).