Skip to content

Commit d6ad1cb

Browse files
author
kyngchaos
committed
fix Qt + SDK issue in OSX build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12181 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0307ec3 commit d6ad1cb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/INSTALL.t2t

+12
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,18 @@ addition to the non-debug frameworks.
405405
Once downloaded open the dmg and run the installer. Note you need admin
406406
privileges to install.
407407

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+
410+
```
411+
sudo ln -s /usr/lib/libQtUiTools.a /usr/local/lib/
412+
sudo ln -s /usr/lib/libQtCLucene.dylib /usr/local/lib/
413+
```
414+
415+
These should then be found automatically on Leopard and above. Earlier systems
416+
may need some help by adding '-L/usr/local/lib' to CMAKE_SHARED_LINKER_FLAGS,
417+
CMAKE_MODULE_LINKER_FLAGS and CMAKE_EXE_LINKER_FLAGS in the cmake build, or
418+
adding '/usr/local/lib' to LIBRARY_SEARCH_PATHS in the Xcode build.
419+
408420

409421
== Install development frameworks for QGIS dependencies ==
410422

0 commit comments

Comments
 (0)