1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
3
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
4
original version by: Nikos Drakos, CBLU, University of Leeds
5
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6
* with significant contributions from:
7
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
11
<META NAME="description" CONTENT="Qt">
12
<META NAME="keywords" CONTENT="install">
13
<META NAME="resource-type" CONTENT="document">
14
<META NAME="distribution" CONTENT="global">
16
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
18
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
20
<LINK REL="STYLESHEET" HREF="install.css">
22
<LINK REL="next" HREF="node10.html">
23
<LINK REL="previous" HREF="node8.html">
24
<LINK REL="up" HREF="install.html">
25
<LINK REL="next" HREF="node10.html">
29
<!--Navigation Panel-->
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
43
<B> Next:</B> <A NAME="tex2html159"
44
HREF="node10.html">Building QGIS</A>
45
<B> Up:</B> <A NAME="tex2html155"
46
HREF="install.html">Building and Installing QGIS</A>
47
<B> Previous:</B> <A NAME="tex2html149"
48
HREF="node8.html">GDAL/OGR</A>
49
<B> <A NAME="tex2html157"
50
HREF="node1.html">Contents</A></B>
53
<!--End of Navigation Panel-->
55
<H1><A NAME="SECTION00090000000000000000">
58
Qt 3.1.2 or higher is required in order to compile QGIS. You may already have Qt on your system. If so, check to see if you have version 3.1.2 or later. You can check the Qt version using the find command:
60
find ./ -name qglobal.h 2>/dev/null | xargs grep QT_VERSION_STR
62
If you have the locate utility installed you can do the same more quickly using:
64
locate qglobal.h | xargs grep QT_VERSION_STR
66
In either case the result should look something like this:
68
#define QT_VERSION_STR "3.3.1"
70
In the example above, Qt 3.3.1 is installed.
73
If Qt is not installed, you will have to install the Qt development package for your distribution. If you are not able to install the required Qt packages, you will have to build from source.
76
To install Qt from source:
79
<LI>Download Qt from <TT><A NAME="tex2html15"
80
HREF="http://www.trolltech.com/developer">http://www.trolltech.com/developer</A></TT> (choose the Qt/X11 Free Edition)
82
<LI>Unpack the distribution
84
<LI>Follow directions provided in the distribution directory (doc/html/install-x11.html)
86
<LI>Use whatever configure options you like but make sure you include -thread for use with QGIS. You can configure Qt with minimal options:
93
<LI>Complete the installation per the instructions provided in the Qt documentation (see step 3)
100
<!--Navigation Panel-->
101
<A NAME="tex2html158"
103
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
104
<A NAME="tex2html154"
106
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
107
<A NAME="tex2html148"
109
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
110
<A NAME="tex2html156"
112
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
114
<B> Next:</B> <A NAME="tex2html159"
115
HREF="node10.html">Building QGIS</A>
116
<B> Up:</B> <A NAME="tex2html155"
117
HREF="install.html">Building and Installing QGIS</A>
118
<B> Previous:</B> <A NAME="tex2html149"
119
HREF="node8.html">GDAL/OGR</A>
120
<B> <A NAME="tex2html157"
121
HREF="node1.html">Contents</A></B>
122
<!--End of Navigation Panel-->