[PyQt] Wondering if PyQt5 packaging might be missing a lib on linux...

Jérôme Laheurte jerome at jeromelaheurte.net
Fri Apr 26 15:27:05 BST 2019



> Le 26 avr. 2019 à 16:21, Calin Culianu <calin.culianu at gmail.com> a écrit :
> 
> So I was trying to use QtMultimedia to detect a camera and do video capture via python.
> 
> QCameraInfo.availableCameras() was returning an empty list.. and i did some troubleshooting and it turns out a lib is missing in the PyQt5 packaged Qt libs.
> 
> ""/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/plugins/mediaservice/libgstmediaplayer.so" : "Cannot load library /usr/local/lib/python3.6/dist-packages/PyQt5/Qt/plugins/mediaservice/libgstmediaplayer.so: (libQt5MultimediaGstTools.so.5: cannot open shared object file: No such file or directory)"
> defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer »

I can confirm this; had the same problem last week. Didn’t have the time to post it here unfortunately. Looks like a packaging bug.

Best regards
Jérôme Laheurte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190426/2f61f041/attachment.html>


More information about the PyQt mailing list