Skip to content

Commit ec6e56e

Browse files
author
kyngchaos
committed
add missing configure option;
fix mac build for release source git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14602 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b2f92a3 commit ec6e56e

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

INSTALL

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Quantum GIS (QGIS)
22
Building QGIS from source - step by step
33

4-
Last update: 20101105
4+
Last update: 20101113
55
Last change: 20101028
66

77
1. Introduction
@@ -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

17791785
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
17821788
idea to bundle Qt if you need to copy Qgis to other Macs (where you would have to
17831789
install Xcode just so Qt would install!).
17841790

doc/osx.t2t

+8-2
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ mkdir build
468468
cd build
469469
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
470470
-D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
471+
-D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
472+
-D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
471473
..
472474
```
473475

@@ -481,6 +483,8 @@ path and version as required):
481483
```
482484
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
483485
-D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
486+
-D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
487+
-D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
484488
-D GRASS_PREFIX=/user/local/grass-6.4.0 \
485489
..
486490
```
@@ -498,13 +502,15 @@ sudo chmod +x /usr/local/bin/python32
498502

499503
cmake -D CMAKE_INSTALL_PREFIX=~/Applications -D CMAKE_BUILD_TYPE=Release \
500504
-D CMAKE_BUILD_TYPE=MinSizeRel -D WITH_INTERNAL_SPATIALITE=FALSE \
505+
-D QWT_LIBRARY=/usr/local/qwt-5.2.1-svn/lib/libqwt.dylib \
506+
-D QWT_INCLUDE_DIR=/usr/local/qwt-5.2.1-svn/include \
501507
-D CMAKE_OSX_ARCHITECTURES=i386 -D PYTHON_EXECUTABLE=/usr/local/bin/python32 \
502508
..
503509
```
504510

505511
__Bundling note:__ Older Qt versions may have problems with some Qt plugins and Qgis.
506-
The way to handle this is bundle Qt inside the Qgis application. You can do this now
507-
or wait to see if there are immediate crahses when running Qgis. It's also a good
512+
The way to handle this is to bundle Qt inside the Qgis application. You can do this now
513+
or wait to see if there are immediate crashes when running Qgis. It's also a good
508514
idea to bundle Qt if you need to copy Qgis to other Macs (where you would have to
509515
install Xcode just so Qt would install!).
510516

src/mac/Contents/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
SET(COMPLETE_VERSION_WITH_RELEASE_NAME \"${COMPLETE_VERSION}-${RELEASE_NAME}\")
66

7+
IF (NOT EXISTS SVN_MARKER)
8+
SET (SVN_MARKER ${CMAKE_SOURCE_DIR}/CMakeLists.txt) # Dummy file
9+
ENDIF (NOT EXISTS SVN_MARKER)
10+
711
ADD_CUSTOM_TARGET(Info.plist ALL
812
DEPENDS ${SVN_MARKER}
913
COMMAND ${CMAKE_COMMAND}

0 commit comments

Comments
 (0)