Before this gets marked as a duplicate, I would like to point out that I have looked at bug 92484 and I think this is different. After having installed qt-4.0.0_beta2-r1 with: ebuild qt-4.0.0_beta2-r1.ebuild merge qmake was indeed installed in /usr/bin. qmake -v returns: Qmake version: 2.00a (Qt 4.0.0-rc1-snapshot-20050421) but for everything else qmake returns: Unable to find a Qt configuration. It seems I am not the only one with this problem: http://lists.trolltech.com/qt4-preview-feedback/2005-05/thread00244-0.html The solution (or at least the way I managed to make qmake work) is to move /usr/lib/qt4/qt.conf to /etc/qt.conf. Reproducible: Always Steps to Reproduce: 1.'ebuild qt-4.0.0_beta2-r1.ebuild merge' 2.'qmake' Actual Results: got the error message: Unable to find a Qt configuration. Expected Results: compile stuff
FYI: I'm working on a beta2-r2 right now, and I'll plan to have it install qt.conf into /etc.
To verify, you installed it as /etc/qt.conf and not /etc/qt4/qt.conf, right?
I don't see this string anymore with the latest snapshot (it was in qmake/option.cpp), so perhaps it won't act this way. Qmake seems to work well for me with beta2-r2, which I'm committing now. Please try and reopen if the problem persists.