Qt installation

From CLONWiki
Revision as of 11:39, 11 January 2016 by Boiarino (talk | contribs)
Jump to navigation Jump to search

To install for the first time:

ssh as root
cd /usr/local/src
cp /usr/downloads/qt-everywhere-opensource-src-4.8.4.tar.gz .
gunzip qt-everywhere-opensource-src-4.8.4.tar.gz
tar xvf qt-everywhere-opensource-src-4.8.4.tar
rm qt-everywhere-opensource-src-4.8.4.tar
cd qt-everywhere-opensource-src-4.8.4
./configure -prefix /apps/Trolltech/Qt-4.8.4
   answer 'o'
   ansver 'yes'
make
make install
cd /apps/Trolltech
ln -s Qt-4.8.4 Qt

To reconfigure/recompile from scratch, do following

make confclean
./configure
...

Set PATH:

setenv PATH /apps/Trolltech/Qt/bin:$PATH