Skip to content

Commit b70171e

Browse files
author
kyngchaos
committed
more OSX install updates; change all trolltech links to nokia
git-svn-id: http://svn.osgeo.org/qgis/trunk@12171 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a44997b commit b70171e

File tree

1 file changed

+43
-35
lines changed

1 file changed

+43
-35
lines changed

doc/INSTALL.t2t

+43-35
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ document.
151151
Download qt4.3 opensource precompiled edition exe and install (including the
152152
download and install of mingw) from here:
153153

154-
http://www.trolltech.com/developer/downloads/qt/windows
154+
http://qt.nokia.com/downloads
155155

156156
When the installer will ask for MinGW, you don't need to download and install
157157
it, just point the installer to c:\msys\mingw
@@ -392,24 +392,17 @@ You need a minimum of Qt-4.3.0. I suggest getting the latest (at time of writing
392392
__Snow Leopard note:__ If you are building on Snow Leopard, you will need to
393393
decide between 32-bit support in the older, Qt Carbon branch, or 64-bit
394394
support in the Qt Cocoa branch. Appropriate installers are available for both
395-
as of Qt-4.6.0, but the beta version of Qt-4.6.0 has proven to introduce numerous
396-
bugs in Qgis. Unfortunately, the 32-bit branch of Qt currently does not build with
397-
python bindings (see notes below). You can achieve support for python in Qgis with
395+
as of Qt-4.5.2, and the release candidate of Qt-4.6.0-cocoa works fairly well
396+
with Qgis as tested with nightly snapshots of sip and pyqt.
397+
Unfortunately, the 32-bit branch of Qt currently does not build using cmake with
398+
python bindings. You can achieve support for python in Qgis with
398399
the Xcode build method noted below.
399400

400401
```
401-
ftp://ftp.trolltech.com/qt/source/
402+
http://qt.nokia.com/downloads
402403
```
403404

404-
Mac versions are named as:
405-
406-
```
407-
qt-mac-opensource-x.y.z.dmg
408-
```
409-
410-
x, y, z being the major, minor and revision version.
411-
412-
If you want debug frameworks, Qt also provide a dmg with these. These are in
405+
If you want debug frameworks, Qt also provides a dmg with these. These are in
413406
addition to the non-debug frameworks.
414407

415408
Once downloaded open the dmg and run the installer. Note you need admin
@@ -418,16 +411,18 @@ privileges to install.
418411

419412
== Install development frameworks for QGIS dependencies ==
420413

421-
Download William Kyngesburye's excellent all in GDAL Complete framework that includes proj, gdal, sqlite3, etc.
414+
Download William Kyngesburye's excellent GDAL Complete package that includes PROJ, GEOS, GDAL, SQLite3, and image libraries, as frameworks.
422415

423416
```
424417
http://www.kyngchaos.com/wiki/software:frameworks
425418
```
426419

427420
Once downloaded, open and install the frameworks.
428421

429-
William provides an additional installer package for Postgresql/PostGIS. It's
430-
available here:
422+
William provides an additional installer package for Postgresql (for PostGIS support).
423+
Qgis just needs the libpq client library, so unless you want to setup the full
424+
Postgres + PostGIS server, all you need is the client-only package.
425+
It's available here:
431426

432427
```
433428
http://www.kyngchaos.com/wiki/software:postgres
@@ -477,7 +472,7 @@ For explicit 32-bit support in gsl, substitute the standard configure line with:
477472
=== Additional Dependencies : Expat ===
478473

479474
__Snow Leopard note:__ Snow Leopard includes a usable expat, so this step is
480-
not necessary.
475+
not necessary on Snow Leopard.
481476

482477
Get the expat sources:
483478

@@ -500,25 +495,31 @@ __Leopard note:__ To compile for 64bit, substitute the standard configure line w
500495
```
501496

502497

503-
=== Additional Dependencies : SIP ===
498+
=== Additional Dependencies : Python ===
504499

505-
__Leopard and Snow Leopard note:__ Leopard and Snow Leopard include a usable Python
506-
2.5 or 2.6, respectively. You can install Python from python.org if preferred.
500+
__Leopard and Snow Leopard note:__ Leopard and Snow Leopard include a usable
501+
Python 2.5 and 2.6, respectively. So there is no need to install Python on
502+
Leopard and Snow Leopard You can still install Python from python.org if preferred.
507503

508-
Make sure you have at least the latest Python 2.5 from
504+
Make sure you install at least the latest Python 2.5 from
509505

510506
```
511-
http://www.python.org/download/mac/
507+
http://www.python.org/download/
512508
```
513509

510+
Python 3 is a major change, and may have compatibility issues, so try it at your own risk.
511+
512+
513+
=== Additional Dependencies : SIP ===
514+
514515
Retrieve the python bindings toolkit SIP from
515516

516517
```
517518
http://www.riverbankcomputing.com/software/sip/download
518519
```
519520

520521
Double-click the source tarball to unpack it, then, in Terminal.app, cd to the source folder
521-
and (this installs by default into the Python framework):
522+
and (this installs by default into the Python framework, and is appropriate only for python.org Python installs):
522523

523524
```
524525
python configure.py
@@ -539,17 +540,20 @@ python configure.py -d /Library/Python/2.5/site-packages -b /usr/local/bin \
539540

540541
__Snow Leopard notes__
541542

542-
Similar to Leopard, you should install outside the system Python path. Also, you need to specify the architecture you want (requires at least SIP 4.9). If you are using 32-bit Qt (Qt Carbon):
543+
Similar to Leopard, you should install outside the system Python path.
544+
Also, you need to specify the architecture you want (requires at least SIP 4.9),
545+
and make sure to run the versioned python binary (this one responds to the
546+
'arch' command, 'python' does not). If you are using 32-bit Qt (Qt Carbon):
543547

544548
```
545-
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
549+
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
546550
-e /usr/local/include -v /usr/local/share/sip --arch=i386
547551
```
548552

549553
For 64-bit Qt (Qt Cocoa), use this configure line:
550554

551555
```
552-
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
556+
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
553557
-e /usr/local/include -v /usr/local/share/sip --arch=x86_64
554558
```
555559

@@ -563,7 +567,7 @@ http://www.riverbankcomputing.com/software/pyqt/download
563567
```
564568

565569
Double-click the source tarball to unpack it, then, in Terminal.app, cd to the source folder
566-
and (this installs by default into the Python framework):
570+
and (this installs by default into the Python framework, and is appropriate only for python.org Python installs):
567571

568572
```
569573
export QTDIR=/Developer/Applications/Qt
@@ -590,17 +594,19 @@ Then make again.
590594
__Snow Leopard notes__
591595

592596
Similar to Leopard, you should install outside the system Python path.
593-
Also, you need to specify the architecture you want (requires at least PyQt 4.6).
597+
Also, you need to specify the architecture you want (requires at least PyQt 4.6),
598+
and make sure to run the versioned python binary (this one responds to the
599+
'arch' command, which is important for pyuic4, 'python' does not).
594600
If you are using 32-bit Qt (Qt Carbon):
595601

596602
```
597-
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch i386
603+
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch i386
598604
```
599605

600606
For 64-bit Qt (Qt Cocoa), use this configure line:
601607

602608
```
603-
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch x86_64
609+
python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch x86_64
604610
```
605611

606612

@@ -645,7 +651,8 @@ sudo make install
645651

646652
== Install subversion for OSX ==
647653

648-
__Leopard and Snow Leopard note:__ Leopard and Snow Leopard include SVN, so this step can be skipped on Leopard and Snow Leopard.
654+
__Leopard and Snow Leopard note:__ Leopard and Snow Leopard (Xcode 3+)
655+
include SVN, so this step can be skipped on Leopard and Snow Leopard.
649656

650657
The [http://sourceforge.net/projects/macsvn/MacSVN] project has a downloadable
651658
build of svn. If you are a GUI inclined person you may want to grab their gui
@@ -851,8 +858,9 @@ Alternatively, from within the mac/xcode directory, build with the command:
851858
xcodebuild
852859
```
853860

854-
The Qgis application will be found in the 'build/$SYSTEM/Release' folder in the xcode folder.
855-
Copy this to whereever you like.
861+
The Qgis application will be found in the 'build/$SDKSYS/Release' folder
862+
in the xcode folder, where $SDKSYS is the system you configured for in your
863+
qgis_user.xcconfig. Copy this to whereever you like.
856864

857865
% -----------------------------------------------------------------------------
858866
% ----Please leave this break marker here for clarity - it wont be rendered ---
@@ -2222,7 +2230,7 @@ support building the open source version of Qt for windows under MSVC.
22222230
Download Qt 4.x.x source for windows from
22232231

22242232
```
2225-
http:\\www.trolltech.com
2233+
http://qt.nokia.com/downloads
22262234
```
22272235

22282236
Unpack the source to

0 commit comments

Comments
 (0)