[Interest] QCameraInfo & Qt 5.10.1

Igor Mironchik igor.mironchik at gmail.com
Fri Mar 23 11:34:04 CET 2018


Guys,

So much regressions in QCamera in Qt 5.9 and 5.10... Don't remember in 
what version all was ok, but now this is something horrible to work with 
QCamera in Linux. What was changed?


On 23.03.2018 12:47, Igor Mironchik wrote:
> Hello.
>
> Let's say I initialized QCamera with right settings (on Linux this is 
> /dev/video0)
>
> QCamera * cam = new QCamera( ... );
>
> cam->start();
>
> When the camera is started QCameraInfo::availableCameras() returns 
> list of cameras without active camera. This is a regression from pre 
> 5.9 Qt. Is this a known issue?
>
> And more
>
> QCameraInfo info( *cam );
>
> now produces camera's info for /dev/video1 whereas cam is /dev/video0.
>
> Is this a know issue too?
>
> How can I workaround these issues?
>
> Thank you.
>




More information about the Interest mailing list