Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92945 - qt-4.0.0_beta2-r1 qmake returns "Unable to find a Qt configuration."
Summary: qt-4.0.0_beta2-r1 qmake returns "Unable to find a Qt configuration."
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 09:44 UTC by Jean Krohn
Modified: 2005-05-24 05:50 UTC (History)
0 users

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 Jean Krohn 2005-05-17 09:44:38 UTC
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
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-05-23 13:31:05 UTC
FYI: I'm working on a beta2-r2 right now, and I'll plan to have it install 
qt.conf into /etc. 
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-05-23 13:34:56 UTC
To verify, you installed it as /etc/qt.conf and not /etc/qt4/qt.conf, right? 
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2005-05-24 05:50:44 UTC
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.