camera service is missing



  • I'm using Debian Jessie and dmesg | grep video returns:

    [   22.280407] Linux video capture interface: v2.00
    [   22.790704] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (13d3:5170)
    [   22.796546] usbcore: registered new interface driver uvcvideo
    

    The example compiles fine but upon launch i get a dialog telling me that the camera service is missing. I'm using Qt 5.5.0. Also I've installed Qt using the installer provided at the web site. I've tested my webcam with Cheese application and it works but QCameraInfo::availableCameras() returns nothing.



  • Am I the only person with this problem?


  • Qt Champions 2017

    @morkia
    Hi
    Might be a issue with it
    https://bugs.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+bug/1438072
    Not that Debian is ubuntu but could be somewhat the same.


  • Lifetime Qt Champion

    Hi,

    Can you start your application with QT_DEBUG_PLUGINS=1 that might give some clues.

    @mrjj It's the other way around ;) Ubuntu is a Debian derivative :)


  • Qt Champions 2017

    @SGaist
    hehe With the unity interface, it is sort of like the evil step child of debian.



  • @SGaist Ok I've put the environment variable you suggested in my Build Environment list. The application spat some output in which everything looks OK until this line:

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"

    which looks like something that's querying the D-Bus for some services. I've checked every check box when I was installing Qt using the installer but It looks like it didn't install this or something else is needed but it's not documented.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.