mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 06:50:02 +02:00
added instructions for the qt, qwt and root libraries
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorsPackage@21 08cae9ef-cb74-4d14-b03a-d7ea46f178d7
This commit is contained in:
parent
1ffcbc5e6c
commit
f3ea217712
59
manual/libs.txt
Normal file
59
manual/libs.txt
Normal file
@ -0,0 +1,59 @@
|
||||
The slsDetectorGUI is based on Qt4 with Qwt libraries.
|
||||
|
||||
-Qt4.6 installation:
|
||||
|
||||
Download the opend source version:
|
||||
ftp://ftp.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.6.2.tar.gz
|
||||
|
||||
To install:
|
||||
gunzip qt-everywhere-opensource-src-4.6.2.tar.gz
|
||||
tar xvf qt-everywhere-opensource-src-4.6.2.tar
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
By default Qt4 will be installed int /usr/local/Trolltech/Qt-4.6.2/
|
||||
Edit your .bashrc:
|
||||
export QTDIR=/usr/local/Trolltech/Qt-4.6.2
|
||||
export PATH=$QTDIR/bin:$PATH
|
||||
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
|
||||
|
||||
If your system also have Qt3 installed, make sure that QTDIR, PATH and LD_LIBRARY_PATH point to Qt4 before installing Qwt (and of course compiling and running the GUI).
|
||||
|
||||
|
||||
|
||||
- Qwt5.2 installation
|
||||
|
||||
Download the sources:
|
||||
svn co https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.2
|
||||
|
||||
To install:
|
||||
cd qwt-5.2
|
||||
qmake
|
||||
make
|
||||
make install
|
||||
|
||||
By default Qwt will be installed in /usr/local/qwt-5.2.3-svn/
|
||||
Edit your .bashrc:
|
||||
export QWTDIR=/usr/local/qwt-5.2.3-svn/
|
||||
export LD_LIBRARY_PATH=$QWTDIR/lib:$LD_LIBRARY_PATH
|
||||
|
||||
|
||||
- The calibration wizards are based on the cern root software
|
||||
|
||||
Download the sources
|
||||
svn co https://root.cern.ch/svn/root/trunk root
|
||||
|
||||
To install:
|
||||
cd root
|
||||
./configure --enable-qt
|
||||
make
|
||||
make install
|
||||
|
||||
edit your .bashrc:
|
||||
export ROOTSYS=/usr/local/root
|
||||
export PATH=$ROOTSYS/bin:$PATH
|
||||
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
|
||||
|
||||
You can also download the binaries, assuming that your linuc and gcc versions match:
|
||||
http://root.cern.ch/drupal/content/production-version-534
|
Loading…
x
Reference in New Issue
Block a user