1
1
Quantum GIS (QGIS)
2
2
Building QGIS from source - step by step
3
3
4
- Last update: 20101105
4
+ Last update: 20101113
5
5
Last change: 20101028
6
6
7
7
1. Introduction
@@ -1742,6 +1742,8 @@ In a Terminal cd to the qgis source folder previously downloaded, then:
1742
1742
cd build
1743
1743
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1744
1744
-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 \
1745
1747
..
1746
1748
1747
1749
@@ -1755,6 +1757,8 @@ path and version as required):
1755
1757
1756
1758
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1757
1759
-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 \
1758
1762
-D GRASS_PREFIX=/user/local/grass-6.4.0 \
1759
1763
..
1760
1764
@@ -1772,13 +1776,15 @@ script and add arch flags to the configuration:
1772
1776
1773
1777
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
1774
1778
-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 \
1775
1781
-D CMAKE_OSX_ARCHITECTURES=i386 -D PYTHON_EXECUTABLE=/usr/local/bin/python32 \
1776
1782
..
1777
1783
1778
1784
1779
1785
Bundling 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
1782
1788
idea to bundle Qt if you need to copy Qgis to other Macs (where you would have to
1783
1789
install Xcode just so Qt would install!).
1784
1790
0 commit comments