@@ -151,7 +151,7 @@ document.
151
151
Download qt4.3 opensource precompiled edition exe and install (including the
152
152
download and install of mingw) from here:
153
153
154
- http://www.trolltech .com/developer/ downloads/qt/windows
154
+ http://qt.nokia .com/downloads
155
155
156
156
When the installer will ask for MinGW, you don't need to download and install
157
157
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
392
392
__Snow Leopard note:__ If you are building on Snow Leopard, you will need to
393
393
decide between 32-bit support in the older, Qt Carbon branch, or 64-bit
394
394
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
398
399
the Xcode build method noted below.
399
400
400
401
```
401
- ftp ://ftp.trolltech .com/qt/source/
402
+ http ://qt.nokia .com/downloads
402
403
```
403
404
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
413
406
addition to the non-debug frameworks.
414
407
415
408
Once downloaded open the dmg and run the installer. Note you need admin
@@ -418,16 +411,18 @@ privileges to install.
418
411
419
412
== Install development frameworks for QGIS dependencies ==
420
413
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 .
422
415
423
416
```
424
417
http://www.kyngchaos.com/wiki/software:frameworks
425
418
```
426
419
427
420
Once downloaded, open and install the frameworks.
428
421
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:
431
426
432
427
```
433
428
http://www.kyngchaos.com/wiki/software:postgres
@@ -477,7 +472,7 @@ For explicit 32-bit support in gsl, substitute the standard configure line with:
477
472
=== Additional Dependencies : Expat ===
478
473
479
474
__Snow Leopard note:__ Snow Leopard includes a usable expat, so this step is
480
- not necessary.
475
+ not necessary on Snow Leopard .
481
476
482
477
Get the expat sources:
483
478
@@ -500,25 +495,31 @@ __Leopard note:__ To compile for 64bit, substitute the standard configure line w
500
495
```
501
496
502
497
503
- === Additional Dependencies : SIP ===
498
+ === Additional Dependencies : Python ===
504
499
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.
507
503
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
509
505
510
506
```
511
- http://www.python.org/download/mac/
507
+ http://www.python.org/download/
512
508
```
513
509
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
+
514
515
Retrieve the python bindings toolkit SIP from
515
516
516
517
```
517
518
http://www.riverbankcomputing.com/software/sip/download
518
519
```
519
520
520
521
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 ):
522
523
523
524
```
524
525
python configure.py
@@ -539,17 +540,20 @@ python configure.py -d /Library/Python/2.5/site-packages -b /usr/local/bin \
539
540
540
541
__Snow Leopard notes__
541
542
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):
543
547
544
548
```
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 \
546
550
-e /usr/local/include -v /usr/local/share/sip --arch=i386
547
551
```
548
552
549
553
For 64-bit Qt (Qt Cocoa), use this configure line:
550
554
551
555
```
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 \
553
557
-e /usr/local/include -v /usr/local/share/sip --arch=x86_64
554
558
```
555
559
@@ -563,7 +567,7 @@ http://www.riverbankcomputing.com/software/pyqt/download
563
567
```
564
568
565
569
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 ):
567
571
568
572
```
569
573
export QTDIR=/Developer/Applications/Qt
@@ -590,17 +594,19 @@ Then make again.
590
594
__Snow Leopard notes__
591
595
592
596
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).
594
600
If you are using 32-bit Qt (Qt Carbon):
595
601
596
602
```
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
598
604
```
599
605
600
606
For 64-bit Qt (Qt Cocoa), use this configure line:
601
607
602
608
```
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
604
610
```
605
611
606
612
@@ -645,7 +651,8 @@ sudo make install
645
651
646
652
== Install subversion for OSX ==
647
653
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.
649
656
650
657
The [http://sourceforge.net/projects/macsvn/MacSVN] project has a downloadable
651
658
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:
851
858
xcodebuild
852
859
```
853
860
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.
856
864
857
865
% -----------------------------------------------------------------------------
858
866
% ----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.
2222
2230
Download Qt 4.x.x source for windows from
2223
2231
2224
2232
```
2225
- http:\\www.trolltech .com
2233
+ http://qt.nokia .com/downloads
2226
2234
```
2227
2235
2228
2236
Unpack the source to
0 commit comments