11Quantum GIS (QGIS)
22Building QGIS from source - step by step
33
4- Last update: 20101105
5- Last change: 20101028
4+ Last update: 20101113
5+ Last change: 20101113
66
77 1. Introduction
88 2. Overview
@@ -1742,6 +1742,8 @@ In a Terminal cd to the qgis source folder previously downloaded, then:
17421742 cd build
17431743 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
17441744 -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1745+ -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
1746+ -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
17451747 ..
17461748
17471749
@@ -1755,6 +1757,8 @@ path and version as required):
17551757
17561758 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
17571759 -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1760+ -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
1761+ -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
17581762 -D GRASS_PREFIX=/user/local/grass-6.4.0 \
17591763 ..
17601764
@@ -1772,13 +1776,15 @@ script and add arch flags to the configuration:
17721776
17731777 cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
17741778 -D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
1779+ -D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
1780+ -D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
17751781 -D CMAKE_OSX_ARCHITECTURES=i386 -D PYTHON_EXECUTABLE=/usr/local/bin/python32 \
17761782 ..
17771783
17781784
17791785Bundling note: Older Qt versions may have problems with some Qt plugins and Qgis.
1780- The way to handle this is bundle Qt inside the Qgis application. You can do this now
1781- or wait to see if there are immediate crahses when running Qgis. It's also a good
1786+ The way to handle this is to bundle Qt inside the Qgis application. You can do this now
1787+ or wait to see if there are immediate crashes when running Qgis. It's also a good
17821788idea to bundle Qt if you need to copy Qgis to other Macs (where you would have to
17831789install Xcode just so Qt would install!).
17841790
0 commit comments