You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Building on Mac OSX using frameworks and cmake (QGIS > 0.8) =
360
+
= Building on Mac OSX using frameworks and cmake or Xcode =
361
361
362
362
363
363
In this approach I will try to avoid as much as possible building dependencies
364
364
from source and rather use frameworks wherever possible.
365
365
366
-
Included are a few notes for building on Mac OS X 10.5 (__Leopard__) and 10.6
367
-
(__Snow Leopard__).
366
+
The base system here is Mac OS X 10.4 (__Tiger__) and below. Included are a few notes
367
+
for building on Mac OS X 10.5 (__Leopard__) and 10.6 (__Snow Leopard__).
368
368
369
369
__Snow Leopard note:__ A cmake/qt/sip bug currently exists where a 32-bit
370
370
cmake build fails to provide python bindings. This means that python plugin support
371
371
is currently lacking for 32-bit builds using cmake in Snow Leopard. See the Xcode
372
372
build method to if you require python support.
373
373
374
-
== Install XCODE ==
374
+
== Install Xcode ==
375
375
376
-
I recommend to get the latest xcode dmg from the Apple XDC Web site. Install
377
-
XCODE after the ~1gb download is complete.
376
+
I recommend to get the latest Xcode dmg from the Apple XDC Web site
377
+
(http:/developer.apple.com). The Mac system install disks come with a copy of
378
+
Xcode, but it's likely out of date.
379
+
Install Xcode after the ~1gb download is complete.
378
380
379
381
/!\ Note: It may be that you need to create some symlinks after installing
380
-
the XCODE SDK (in particular if you are using XCODE 2.5 on tiger):
382
+
Xcode (in particular if you are using Xcode 2.5 on Tiger):
381
383
382
384
```
383
385
cd /Developer/SDKs/MacOSX10.4u.sdk/usr/
@@ -392,8 +394,7 @@ You need a minimum of Qt-4.3.0. I suggest getting the latest.
392
394
__Snow Leopard note:__ If you are building on Snow Leopard, you will need to
393
395
decide between 32-bit support in the older, Qt Carbon branch, or 64-bit
394
396
support in the Qt Cocoa branch. Appropriate installers are available for both
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
+
as of Qt-4.5.2. Qt 4.6+ is recommended for Cocoa.
397
398
398
399
```
399
400
http://qt.nokia.com/downloads
@@ -405,7 +406,10 @@ addition to the non-debug frameworks.
405
406
Once downloaded open the dmg and run the installer. Note you need admin
406
407
privileges to install.
407
408
408
-
__Qt 4.4+ note:__ Starting in Qt 4.4 (?) libQtCLucene was added, and in 4.5 libQtUiTools was added, both in /usr/lib. When using a system SDK (which will happen in the Xcode build), these libraries will not be found. To fix this problem, add symlinks to /usr/local:
409
+
__Qt 4.4+ note:__ Starting in Qt 4.4 (?) libQtCLucene was added, and in 4.5
410
+
libQtUiTools was added, both in /usr/lib. When using a system SDK (which will
411
+
happen in the Xcode build), these libraries will not be found. To fix this problem,
0 commit comments