Pi Camera error : no service found for - "org.qt-project.qt.camera"
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 ?
Are you using the v4l driver for the camera ?
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 ?
I followed this guide : http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi
No idea ?
Did you check that all libraries and plugins were deployed ?
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
OpenCV is not even mentioned in that guide.
It depends on what you want to do with OpenCV
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.
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