| Summary: | media-libs/phonon-vlc USE=qt4 with dev-qt/qtchooser - ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paweł Stankowski <aambitny> |
| Component: | [OLD] KDE | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment. I described steps needed to reproduce the problem. 1. emerge qt 4.8.6 and 5.4 2. set the default qt version to qt5 in qtchooser 3. Try to emerge media-libs/phonon-vlc with qt4 use flag enabled I don't have my failed build log, last build succeeded because I used this patch. |
qtchooser is now required by Qt 4.8.6+ and 5.3.2-r2+. When it is installed, it controls the behavior of /usr/bin/qmake, which may point to either qt4 or qt5 one. When /usr/bin/qmake is from qt5, phonon-vlc build against qt4 fails. To fix that, I propose to set QT_SELECT environment variable to change the default qtchooser's version by applying following patch to ebuild: --- /usr/portage/media-libs/phonon-vlc/phonon-vlc-0.7.2.ebuild 2014-10-18 17:01:13.000000000 +0200 +++ /usr/local/portage/media-libs/phonon-vlc/phonon-vlc-0.7.2.ebuild 2015-01-20 23:58:47.725504383 +0100 @@ -60,6 +60,7 @@ src_configure() { myconfigure() { + export QT_SELECT=${MULTIBUILD_VARIANT} local mycmakeargs=() if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then mycmakeargs+=(-DPHONON_BUILD_PHONON4QT5=OFF) Reproducible: Always