fix Qt + SDK issue in OSX build

git-svn-id: http://svn.osgeo.org/qgis/trunk@12181 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
kyngchaos 2009-11-18 22:06:57 +00:00
parent 710ae8e378
commit 54f697b80e

View File

@ -405,6 +405,18 @@ addition to the non-debug frameworks.
Once downloaded open the dmg and run the installer. Note you need admin Once downloaded open the dmg and run the installer. Note you need admin
privileges to install. privileges to install.
__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:
```
sudo ln -s /usr/lib/libQtUiTools.a /usr/local/lib/
sudo ln -s /usr/lib/libQtCLucene.dylib /usr/local/lib/
```
These should then be found automatically on Leopard and above. Earlier systems
may need some help by adding '-L/usr/local/lib' to CMAKE_SHARED_LINKER_FLAGS,
CMAKE_MODULE_LINKER_FLAGS and CMAKE_EXE_LINKER_FLAGS in the cmake build, or
adding '/usr/local/lib' to LIBRARY_SEARCH_PATHS in the Xcode build.
== Install development frameworks for QGIS dependencies == == Install development frameworks for QGIS dependencies ==