Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120577 - media-plugins/mythphone-0.18.1 takes wrong QT version (QT4 instead of QT3)
Summary: media-plugins/mythphone-0.18.1 takes wrong QT version (QT4 instead of QT3)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 16:08 UTC by Greisberger Christophe
Modified: 2006-02-11 08:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greisberger Christophe 2006-01-27 16:08:17 UTC
I have both QT3 and QT4 (4.1.0-r2) installed on my system, and I cannot emerge mythphone since it tries to compile against QT4.

The ebuild should be modified to use, if possible, the right QT version (apps in /usr/qt/3/bin).
If not, is there any way to fix this easily (without unmerging QT4), or even better, is there a tool to switch between QT3/QT4 (like "eselect opengl blah")?

I thought about commenting QT4 env variables in /etc/env.d, but I realized that all the QT4 binaries are installed in /usr/bin!!!
# which qmake
/usr/bin/qmake
# equery belongs /usr/bin/qmake
[ Searching for file(s) /usr/bin/qmake in *... ]
x11-libs/qt-4.1.0-r2 (/usr/bin/qmake)

/etc/env.d/44qt4 :
    PATH=/usr/bin
    ROOTPATH=/usr/bin
    LDPATH=/usr/lib/qt4
    QMAKESPEC=linux-g++

/etc/env.d/45qt3 :
    PATH=/usr/qt/3/bin
    ROOTPATH=/usr/qt/3/bin
    LDPATH=/usr/qt/3/lib
    QMAKESPEC=linux-g++
    MANPATH=/usr/qt/3/doc/man

/etc/env.d/47qt-embedded3 :
    PATH=/usr/qt/3-embedded/bin
    ROOTPATH=/usr/qt/3-embedded/bin
    LDPATH=/usr/qt/3-embedded/lib

/etc/env.d/50qtdir3
    QTDIR=/usr/qt/3

Thanks!
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-02-11 08:32:06 UTC
I fix the eclass - all mythtv plugins should work now.