[Qgis-developer] Xcode build problems

William Kyngesburye woklist at kyngchaos.com
Sat Jan 16 19:14:58 EST 2010


On Jan 16, 2010, at 5:35 PM, Gary Sherman wrote:

> On Sat, Jan 16, 2010 at 2:07 PM, William Kyngesburye
> <woklist at kyngchaos.com> wrote:
>> Just checking - are you following the Qgis INSTALL instructions?  They were recently updated with Qwt build intructions and today the install guide on the wiki was updated to what's in svn.  And of course it has the SIP/PyQt instructions, with some custom options for using the system Python in Leopard and Snow.
> 
> Yes, although the build instructions for PyQWT didn't work for me but
> I have gotten past that. Now I'm getting a link error in QGIS:
> 
I cc'd you on my reply to John about this.

>  -lQtUiTools
> 

> ld: library not found for -lQtUiTools
> collect2: ld returned 1 exit status

Just gotta make sure again: the INSTALL mentions the (yet another, I know) hack to 'fix' the Qt installation for QtCLucene and QtUiTools when used with a system SDK.

If you did this, maybe your Xcode configuration isn't seeing this.  It's possible that /usr/local isn't automatically searched by Xcode (I must have done something so that it is for me).

Try adding this to your qgis_user.xcconfig:

QT_LIB_UITOOLS = -L/usr/local/lib -lQtUiTools


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable.  There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro




More information about the Qgis-developer mailing list