Qt installation: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
Created page with "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.g..."
 
Boiarino (talk | contribs)
No edit summary
Line 13: Line 13:
  make
  make
  make install
  make install
cd /apps/Trolltech
ln -s Qt-4.8.4 Qt


To reconfigure/recompile from scratch, do following
To reconfigure/recompile from scratch, do following
Line 19: Line 21:
  ./configure
  ./configure
  ...
  ...
Set PATH:
setenv PATH /apps/Trolltech/Qt/bin:$PATH

Revision as of 11:39, 11 January 2016

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