Qt installation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
cd qwt-6.1.2 | cd qwt-6.1.2 | ||
/ | /apps/Qt/bin/qmake qwt.pro | ||
make | make | ||
Finally you have to install everything below the directories you have specified in qwtconfig.pri. Usually this is one of the system directories ( /usr/local, /opt, ... ) where you don't have write permission and then the installation needs to be done as root: | Finally you have to install everything below the directories you have specified in qwtconfig.pri. Usually this is one of the system directories ( /usr/local, /opt, ... ) where you don't have write permission and then the installation needs to be done as root: | ||
sudo make install | sudo make install |
Revision as of 15:36, 11 January 2016
Qt
To install for the first time:
yum install gstreamer-plugins-base-devel (at least on RHEL6, otherwise error in ./configure, not sure fatal or not ...)
ssh as root mkdir /apps/Trolltech 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' answer '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
Qt Creator
cd /apps/Trolltech cp /usr/downloads/qt-creator-2.7.1-src.tar.gz . gunzip qt-creator-2.7.1-src.tar.gz tar xvf qt-creator-2.7.1-src.tar rm qt-creator-2.7.1-src.tar cd qt-creator-2.7.1-src qmake -r make
QWT
Not tested !!!!!!!!!!
cd qwt-6.1.2 /apps/Qt/bin/qmake qwt.pro make
Finally you have to install everything below the directories you have specified in qwtconfig.pri. Usually this is one of the system directories ( /usr/local, /opt, ... ) where you don't have write permission and then the installation needs to be done as root: sudo make install