[Qgis-developer] Xcode build problems

Gary Sherman gsherman at mrcc.com
Sat Jan 16 19:32:29 EST 2010


On Sat, Jan 16, 2010 at 3:14 PM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> 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
>
Yes I had missed the need for a symlink but found it shortly before
your email. It builds and runs but without Python support. There is an
error in loading PyQt---I guess that's progress.

Thanks.
>
> -----
> 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
>
>
>



-- 
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Gary Sherman
Chair, QGIS Project Steering Committee
-Desktop GIS Book:
 *http://desktopgisbook.com
-Spatial Hosting:
 *http://mrcc.com/hosting
"We work virtually everywhere"
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-


More information about the Qgis-developer mailing list