From 54f697b80eaa9fef2bc9c31bf02693a3620deb9f Mon Sep 17 00:00:00 2001 From: kyngchaos Date: Wed, 18 Nov 2009 22:06:57 +0000 Subject: [PATCH] fix Qt + SDK issue in OSX build git-svn-id: http://svn.osgeo.org/qgis/trunk@12181 c8812cc2-4d05-0410-92ff-de0c093fc19c --- doc/INSTALL.t2t | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/INSTALL.t2t b/doc/INSTALL.t2t index 0cd51c6155f..d6acd4af56f 100644 --- a/doc/INSTALL.t2t +++ b/doc/INSTALL.t2t @@ -405,6 +405,18 @@ addition to the non-debug frameworks. Once downloaded open the dmg and run the installer. Note you need admin 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 ==