Pi Camera error : no service found for - "org.qt-project.qt.camera"
-
wrote on 14 Mar 2015, 13:42 last edited by xvause
Hi all,
I'm trying to use a simple camera app find here with my RPi.
On my computer, the software run perfectly with my webcam.
On my RPi with a Pi Camera, I get this error :Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"Do you have some idea ?
-
Hi,
Are you using the v4l driver for the camera ?
-
wrote on 21 Mar 2015, 09:06 last edited by
Hi,
Yes, I followed this guide : http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14.
-
Which version of Qt are you running on the Pi ? And how did you install it ?
-
wrote on 22 Mar 2015, 10:42 last edited by
I followed this guide : http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi
-
wrote on 26 Mar 2015, 07:08 last edited by
No idea ?
-
Did you check that all libraries and plugins were deployed ?
-
wrote on 5 Apr 2015, 15:10 last edited by
What do you mean ? How can I check this ?
I also tried this tutorial, and I can go until step 5.
So I suppose that openCv is correctly installed ?Do you know how can I include opencv in my Camera project ?
-
Taking a look at the folders create after your called
make install
OpenCV is not even mentioned in that guide.
It depends on what you want to do with OpenCV
-
wrote on 6 Apr 2015, 09:25 last edited by
Actually, I want to develop a Qt application that uses my Pi Camera (show the live video, capture pictures).
I started with thi project : http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html but I can't use the Pi Camera.
I just want to recognize my Pi Camera inside this project, but I'm lost ! -
IIRC, I've also had problem with that one and had not time to debug it further. However, I've used QtGStreamer to display the camera image as well as stream it.
-
wrote on 7 Apr 2015, 12:40 last edited by
How did you use QtGStreamer to display the camera ?
Btw, do you have a small simple example ?
It would help me a lot... -
I don't have the code at hand but from memory, I was using the v4l2src source and a QGst::Quick::VideoSurface for the video sink