After installing dev-qt/qtmultimedia-5.4.2-r1 (on ~amd64) and running application which uses QCamera I get an error: CameraBin error: "Your GStreamer installation is missing a plug-in." After playing with use-flags of media-plugins/gst-plugins-meta I get it working with USE="v4l ffmpeg theora". So, as for me, it looks like qtmultimedia depend on this plugins, but they not installed by default. I propose to add this plugins as dependency or at least mention them in post-install message. Because application builds successfully. Run successfully. But camera widget is black and errors(warning actually) in output. So it's not strict dependency. Reproducible: Always
I believe it should be the application that depends on the plugins it needs. This is a common problem with gstreamer plugins however, do we have a distro-wide policy wrt dependencies?
All I find is: http://doc.qt.io/qt-5/linux-requirements.html#multimedia-dependencies By now I don't have application. I just run Qt example: http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html I don't know what is Gentoo policy about gs plugins, but I spent about an hour to find what is wrong with my gs installation, because gs does not tell which plugin exactly is missing... Its kinda annoying. So just qtmultimedia post-install message would be enough for me.
(In reply to RazrFalcon from comment #2) > By now I don't have application. I just run Qt example: > http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html For portage packages (applications), it's the application that should depend on the required decoding/demuxing/input/etc plugins. Otherwise qtmultimedia would have to depend on all gst plugins, which I definitely do not want to do. For out-of-portage software, you're kinda on your own, we cannot support it. You're supposed to know what dependencies are required and install them manually. > > I don't know what is Gentoo policy about gs plugins, but I spent about an > hour to find what is wrong with my gs installation, because gs does not tell > which plugin exactly is missing... Its kinda annoying. > > So just qtmultimedia post-install message would be enough for me. I understand your frustration, but if we started adding a postinst message for every application out there that requires a plugin, the list would quickly grow to a long and unmaintainable mess.
Closing for now, but I'm willing to consider other ideas to improve the situation.
I understand.