c++ - Why QCamera::CaptureVideo isn't supported? -
i'm trying create application uses camera api, based on example qt.
problem:
following call check if video capture supported returns false
.
camera->iscapturemodesupported(qcamera::capturevideo) //returns false.
if try ignore , start recording - recording not start , no error messages ( also, qmediarecorder::errorstring()
, qcamera::errorstring()
return empty strings ).
image camera correctly showed in qcameraviewfinder
.
it known bug in windows.
https://bugreports.qt.io/browse/qtbug-30541
https://doc-snapshots.qt.io/qt5-5.5/qtmultimedia-windows.html
it should work in other platforms, though.
Comments
Post a Comment