Summary: | install backends to qt_plugin_dir | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Phonon | Reporter: | Antonio Rojas <arojas> |
Component: | general | Assignee: | Harald Sitter <sitter> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | hello, martin.sandsmark, myriam, romain.perier, scarpino |
Priority: | VLO | ||
Version: | 4.8.0 | ||
Target Milestone: | 4.8 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Antonio Rojas
2014-10-19 16:57:15 UTC
option(PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT "Install Qt designer plugins, QML plugins and mkspecs into the system Qt install directory or not" FALSE) The backends don't seem to honor that variable. phonon_gstreamer.so is still installed to /usr/lib/qt5/plugins That could be. What'd be the point of not forcing it in there though? It also didn't do that with the qt4 build (always went to kde4 IIRC). Mostly consistency, as it doesn't seem to break functionality. In my system phonon-gstreamer is the only package installing stuff to /usr/lib/qt5 If you feel this is worthwhile, patches are always welcome :) FWIW I would suggest that the qt4/qt5 subdir should be dropped entirely and instead $LIBPREFIX/$PHONOSONAME/backends/ should be used as plugin lookup happens completely opaquely inside libphonon there is absolutely no reason why it would put the plugins in a global qt plugin directory. https://techbase.kde.org/Development/Review_Board Otherwise this probably will eventually go away with a transition to extra-cmake-modules, or well, maybe, or not... Not worth fixing explicitly IMO as it only increases "neatness" rather than making things better. Requesting reopening. This inconsistency is quite an annoying edge case when we have to probe for Qt libs using pkg-config, where we have to guess which qt folder contains what we're looking for adding unnecessary complexity because of two packages that may or may not exist in the user's system. |