[Qgis-developer] Xcode project in qgis svn
John C. Tull
john.tull at wildnevada.org
Mon Feb 16 23:53:43 EST 2009
On Feb 16, 2009, at 8:44 PM, William Kyngesburye wrote:
> On Feb 16, 2009, at 10:27 PM, John C. Tull wrote:
>
>> I managed to get a build from trunk with one problem reported here:
>> http://rafb.net/p/a7vdJR82.html
>>
> Yes, the userguide.pdf is missing from trunk. The error shouldn't
> stop the build completing, but you can remove it from the project if
> you like.
>
>> I did not do anything with the core/gui/app moc sources myself, so
>> I am assuming that the project automagically takes care of this
>> issue.
>>
>> A key to helping was Gary's suggestion to place the xcode project
>> inside the mac folder within the trunk directory, i.e. 'sources/
>> qgis/trunk/mac/xcode. This allowed the sources to be found without
>> having to load them into the project.
>>
> er, this should be mentioned in the main readme. but won't be an
> issue if/when it is added to svn.
>
>> This is very useful. Thanks for the excellent work!
>>
> Try the updated project I posted earlier this evening. Some
> compilation issues fixed. release and trunk versions available.
> But, your experience and comments with getting it working yourself
> are helpful.
I did see that email, and I used your trunk version for my build.
Another issue was my Qt setup. I have 4.4.3 installed from a Trolltech
binary distribution. I had to go into qgis_settings.xcconfig and
change the moc, rcc, and lrelease settings to /usr/bin/moc, etc.
Although my installation has aliases for each of these in /Developer/
Tools/Qt, Xcode spit out an error related to moc before making these
changes:
/Users/jctull/sources/qgis/trunk/mac/xcode/build/leo/Qgis.build/Debug/
moc.build/Script-729277F00F3A816100D9C992.sh: line 10: /Developer/
Applications/Qt/moc: No such file or directory
I changed all four references, and things then worked. Looking over
things in more detail (and with a better understanding), I believe I
needed to change QTDIR from /Developer/Applications/Qt to /Developer/
Tools/Qt in the qgis_user.xcconfig file. Is this correct (perhaps an
oversight in your template)?
Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090216/8829ed67/attachment.html
More information about the Qgis-developer
mailing list