QCameraInfo::availableCameras() returns empty list on qtubuntu, works on xcb

Bug #1438072 reported by Michael Zanetti
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Bill Filler
Client Developer Experience
Fix Released
Undecided
Unassigned
qtubuntu-camera (Ubuntu)
Fix Committed
High
Ugo Riboni

Bug Description

Based on [1] I've created a small sample app to verify the issue and indeed it seems to be broken. QCameraInfo::availableCameras() returns an empty list on the BQ phone. It works if the same application is run on X11. Attached you'll find the sample app to reproduce. Watch out for the qDebug() print in main.cpp.

[1] https://askubuntu.com/questions/602892/qt-multimedia-doesnt-seem-to-work-on-touch

Tags: bq

Related branches

Revision history for this message
Michael Zanetti (mzanetti) wrote :
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Also broken in current vivid images.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtmultimedia-opensource-src (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandr (desniza) wrote :

Confirm, doesn't works on ubuntu 14.04

Changed in qtubuntu-camera:
importance: Undecided → High
Revision history for this message
J-B Vosteen (bart-jan-bart) wrote :

I tested the example with libqt5multimedia5-plugins installed and it worked.

qtmultimedia5-dev requires libqt5multimedia5-plugins to work correctly.

Revision history for this message
Velkan (velkan-s) wrote :

libqt5multimedia5-plugins is in all images by default.

And it still doesn't work on 15.04 OTA-8.5 .

Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: none → ww08-2016
Changed in qtubuntu-camera:
assignee: nobody → Florian Boucault (fboucault)
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → Medium
Changed in qtubuntu-camera:
importance: High → Medium
Changed in canonical-devices-system-image:
status: New → Confirmed
Revision history for this message
Florian Boucault (fboucault) wrote :

Implementing that API in qtubuntu-camera requires implementing the following 2 interfaces in our QMediaServiceProviderPlugin:

QMediaServiceSupportedDevicesInterface http://doc.qt.io/qt-5/qmediaservicesupporteddevicesinterface.html
Implementing essentially the following methods:
devices(..)
deviceDescription(..)

QMediaServiceCameraInfoInterface http://doc.qt.io/qt-5/qmediaservicecamerainfointerface.html
Implementing essentially the following methods:
cameraPosition(..)
cameraOrientation(..)

This will require APIs currently unexposed in libhybris to be exposed.

While at it it would be good to fix AalVideoDeviceSelectorControl which hardcodes camera information at the moment.

Ugo Riboni (uriboni)
Changed in qtubuntu-camera:
assignee: Florian Boucault (fboucault) → Ugo Riboni (uriboni)
status: New → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
no longer affects: qtubuntu-camera
no longer affects: qtmultimedia-opensource-src (Ubuntu)
Changed in qtubuntu-camera (Ubuntu):
status: New → Fix Committed
assignee: nobody → Ugo Riboni (uriboni)
importance: Undecided → High
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Changed in canonical-developer-experience:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.