slsDetectorPackage/slsDetectorInstall/Qt4_Installation_GUI.html
2019-04-08 18:53:34 +02:00

113 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2012 (1.2)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Qt4 Installation for GUI</TITLE>
<META NAME="description" CONTENT="Qt4 Installation for GUI">
<META NAME="keywords" CONTENT="slsDetectorInstall">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="slsDetectorInstall.css">
<LINK REL="next" HREF="Qwt_Installation_GUI.html">
<LINK REL="previous" HREF="Requirements.html">
<LINK REL="up" HREF="Requirements.html">
<LINK REL="next" HREF="Qwt_Installation_GUI.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html161"
HREF="Qwt_Installation_GUI.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
<A NAME="tex2html157"
HREF="Requirements.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
<A NAME="tex2html151"
HREF="Requirements.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
<A NAME="tex2html159"
HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html162"
HREF="Qwt_Installation_GUI.html">Qwt Installation for GUI</A>
<B> Up:</B> <A NAME="tex2html158"
HREF="Requirements.html">Requirements</A>
<B> Previous:</B> <A NAME="tex2html152"
HREF="Requirements.html">Requirements</A>
&nbsp; <B> <A NAME="tex2html160"
HREF="Contents.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H3><A NAME="SECTION00042100000000000000">
Qt4 Installation for GUI</A>
</H3>
It must be installed before Qwt. A Qt version equal or higher than 4.6 is
required. One can install it:
<UL>
<LI>via YUM:
<PRE>
yum install qt-devel
</PRE>
</LI>
<LI>via download from:
<BR><TT><A NAME="tex2html2"
HREF="
https://download.qt.io/archive/qt/4.8/4.8.2/qt-everywhere-opensource-src-4.8.2.t
ar.gz">https://download.qt.io/archive/qt/4.8/4.8.2/qt-everywhere-opensource-src-4.8.2.t
ar.gz</A></TT>
<P>
To install:
<PRE>
&gt; gunzip qt-everywhere-opensource-src-4.8.2.tar.gz
&gt; tar xvf qt-everywhere-opensource-src-4.8.2.tar
&gt; ./configure
&gt; make
&gt; make install
</PRE>
By default Qt4 will be installed in /usr/local/Trolltech/Qt-4.8.2/.
</LI>
</UL>
<P>
<B>Setup Environment</B>
<P>
One has to ensure that <code>PATH</code> and <code>LD_LIBRARY_PATH</code> have
been updated to include Qt4 install path, binaries and libraries.
Confirm by executing <code>qmake -v</code> and ensuring the result points to Qt4 (not
Qt3 or Qt5).
<P>
If the environment is not set up, one can add the libraries and
executables to the .bashrc by adding
<code>LD_LIBRARY_PATH</code> and <code>PATH</code>:
<PRE>
export QTDIR=/usr/local/Trolltech/Qt-4.8.2
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
</PRE>
<P>
<BR><HR>
<ADDRESS>
Thattil Dhanya
2019-04-08
</ADDRESS>
</BODY>
</HTML>