PDA

View Full Version : default camera application(Qt-5.2.0) is not running on linux



sanjeet
19th January 2015, 07:40
Hi,

I am trying to run default camera example app on linux laptop build with Qt-5.x, it's not running.
Becoming failure and always gives following error :

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
Camera error: "The camera service is missing"

Whenever i am running this app, one error-message dialog coming with "The camera service is missing"
error. After clicking on "ok" button main dialog is opening, with empty device menu, and no streaming
window and all, and in console it gives above mentioned(in begining) error.

What could be the problem, why it's not working ?
I m using Qt-5.2.0 on Ubuntu-12.04.

But at the same time "cheese" app is working fine on my laptop.

Is this camera-example(qt-5.x) supporting only for windows or its supporting on every platform ?
Because during browsing i have found somwhere without much detail that
"Only Windows platform has a camera backend at the moment. The v4l2/gstreamer based ones for Linux are not enabled."

Can you guide anybody, how to make it to work on linux platform ?

Thanks in advance.

pratsam
10th November 2015, 20:29
I am also having same problem , can anyone bail us out

perfectmak
15th December 2015, 10:25
The issue might be that your default camera is not the default that Qt checks for.
Basically on Linux the default camera is represented as "/dev/video0". So try and check if it exists. If it doesn't but you have a variant such as video1 or video2, just rename it to video0.
And Qt camera should start working on your system