Download QGIS Coding and Compilation Guide

Transcript
6 Installation Guide
The following chapters provide build and installation information for QGIS Version 1.1. This document
corresponds almost to a LATEX conversion of the INSTALL.t2t file coming with the QGIS sources from
April, 24th 2009.
A current version is also available at the wiki, see: http://wiki.qgis.org/qgiswiki/BuildingFromSource
General Build Notes
Since version 0.8.1 QGIS no longer uses the autotools for building. QGIS, like a number of major
projects (eg. KDE 4.0), now uses CMake (http://www.cmake.org) for building from source. The
configure script in this directory simply checks for the existence of cmake and provides some clues
to build QGIS.
For complete information, see the wiki at: http://wiki.qgis.org/qgiswiki/Building_with_CMake
6.1 An overview of the dependencies required for building
Required build deps:
• CMake >= 2.4.3
• Flex, Bison
Required runtime deps:
• Qt >= 4.3.0
• Proj >= ? (known to work with 4.4.x)
• GEOS >= 2.2 (3.0 is supported, maybe 2.1.x works too)
• Sqlite3 >= ? (probably 3.0.0)
• GDAL/OGR >= 1.4.x
Optional dependencies:
• for GRASS plugin - GRASS >= 6.0.0
• for georeferencer - GSL >= ? (works with 1.8)
• for postgis support and SPIT plugin - PostgreSQL >= 8.0.x
• for gps plugin - expat >= ? (1.95 is OK)
• for mapserver export and PyQGIS - Python >= 2.3 (2.5+ preferred)
• for PyQGIS - SIP >= 4.5, PyQt >= must match Qt version
QGIS 1.1 Installation and Coding Guide
43