[Qt-interest] How should I use "configure -prefix ." on Linux, git version?

Raymond de Vries reedev at xs4all.nl
Thu Nov 12 15:50:07 CET 2009


Hi,

I am trying to build and use Qt from git in the same directory 
(~/Qt/qt), so that I don't need to install it everytime. I just use 
"configure -platform linux-g++ -webkit -script -prefix ." on my Ubuntu 
9.04 system, expecting that qmake will use that specific directory (I 
added ~/Qt/qt/bin to my path, as first directory). This does not always 
work as I expect it: sometimes qmake still says that
"Using Qt version 4.7.0 in /usr/local/Trolltech/Qt-4.7.0/lib"
is used, and on other computers it mentions the correct directory...

I am clearly missing the logic behind it. Can someone explain how I 
should set it up correctly? E.g. does the order of commands make a 
difference?

configure -platform linux-g++ -webkit -script -prefix .
output:
You should not run 'make install'.

qmake -v
output sometimes:
QMake version 2.01a
Using Qt version 4.7.0 in /usr/local/Trolltech/Qt-4.7.0/lib


Thanks a lot, best regards
Raymond




More information about the Qt-interest-old mailing list