Using Qt package 'Multimedia' to get cameras on the bq phone:

QList<QCameraInfo> cameras = QCameraInfo::availableCameras();

cameras.size() always returns zero.

Host 14.04, target 14.10, Qt 5.3.0. *.apparmor from core camera-app.

Is it implemented?

share|improve this question
up vote 1 down vote accepted

I've just verified and seems QCameraInfo::availableCameras() always returns an empty list indeed. This seems like a bug. I've reported it here: https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+bug/1438072

Please confirm and add any other findings you might have related to QCamera and C++.

share|improve this answer

Check if you have all dependencies installed. They are:

qtmultimedia5-dev

_

libqt5multimedia5-plugins

Ex:

sudo apt-get install libqt5multimedia5-plugins
share|improve this answer
    
Touch is discontinued. – Velkan May 27 '17 at 22:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.