~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to doc/install_guide/node9.html

  • Committer: Bazaar Package Importer
  • Author(s): William Grant
  • Date: 2007-05-06 13:42:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070506134232-pyli6t388w5asd8x
Tags: 0.8.0-3ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  - debian/rules, debian/qgis.install, debian/qgis.dirs debian/qgis.desktop:
    Add and install .desktop.
* debian/qgis.desktop: Remove Applications category; it's not real.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
 
 
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 -->
8
 
<HTML>
9
 
<HEAD>
10
 
<TITLE>Qt</TITLE>
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">
15
 
 
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">
19
 
 
20
 
<LINK REL="STYLESHEET" HREF="install.css">
21
 
 
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">
26
 
</HEAD>
27
 
 
28
 
<BODY >
29
 
<!--Navigation Panel-->
30
 
<A NAME="tex2html158"
31
 
  HREF="node10.html">
32
 
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
33
 
<A NAME="tex2html154"
34
 
  HREF="install.html">
35
 
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
36
 
<A NAME="tex2html148"
37
 
  HREF="node8.html">
38
 
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
39
 
<A NAME="tex2html156"
40
 
  HREF="node1.html">
41
 
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
42
 
<BR>
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
 
 &nbsp; <B>  <A NAME="tex2html157"
50
 
  HREF="node1.html">Contents</A></B> 
51
 
<BR>
52
 
<BR>
53
 
<!--End of Navigation Panel-->
54
 
 
55
 
<H1><A NAME="SECTION00090000000000000000">
56
 
Qt</A>
57
 
</H1>
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:
59
 
  <PRE>
60
 
  find ./ -name qglobal.h 2&gt;/dev/null | xargs grep QT_VERSION_STR
61
 
</PRE>
62
 
  If you have the locate utility installed you can do the same more quickly using:
63
 
  <PRE>
64
 
  locate qglobal.h | xargs grep QT_VERSION_STR
65
 
</PRE>
66
 
  In either case the result should look something like this:
67
 
  <PRE>
68
 
   #define QT_VERSION_STR   "3.3.1"
69
 
</PRE> 
70
 
   In the example above, Qt 3.3.1 is installed.
71
 
<BR>
72
 
<P>
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.
74
 
<BR>
75
 
<P>
76
 
To install Qt from source:
77
 
  
78
 
<OL>
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)
81
 
</LI>
82
 
<LI>Unpack the distribution
83
 
</LI>
84
 
<LI>Follow directions provided in the distribution directory (doc/html/install-x11.html)
85
 
</LI>
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:
87
 
  <PRE>
88
 
    ./configure -thread
89
 
</PRE>
90
 
 
91
 
<P>
92
 
</LI>
93
 
<LI>Complete the installation per the instructions provided in the Qt documentation (see step 3)
94
 
  
95
 
</LI>
96
 
</OL>
97
 
 
98
 
<P>
99
 
<HR>
100
 
<!--Navigation Panel-->
101
 
<A NAME="tex2html158"
102
 
  HREF="node10.html">
103
 
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
104
 
<A NAME="tex2html154"
105
 
  HREF="install.html">
106
 
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
107
 
<A NAME="tex2html148"
108
 
  HREF="node8.html">
109
 
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
110
 
<A NAME="tex2html156"
111
 
  HREF="node1.html">
112
 
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
113
 
<BR>
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
 
 &nbsp; <B>  <A NAME="tex2html157"
121
 
  HREF="node1.html">Contents</A></B> 
122
 
<!--End of Navigation Panel-->
123
 
<ADDRESS>
124
 
Gary Sherman
125
 
2004-10-01
126
 
</ADDRESS>
127
 
</BODY>
128
 
</HTML>