[Qgis-developer] Re: Context help on OS X
John C. Tull
john.tull at wildnevada.org
Mon Dec 21 21:50:18 EST 2009
Looking over William's comments on the thread he pointed out, I ran the following command and got the help system working for my setup. Perhaps someone else can figure out how to get this into the cmake build system so it will be done automagically:
install_name_tool -change @executable_path/lib/libqgis_core.1.4.0.dylib @executable_path/../../../../lib/libqgis_core.1.4.0.dylib /Applications/qgis1.4.0.app/Contents/MacOS/bin/qgis_help.app/Contents/MacOS/qgis_help
On Dec 21, 2009, at 1:53 PM, William Kyngesburye wrote:
> install_name_tool is an automatic thing with cmake during the install step. It sees qgis_help.app executable as on the same dir level as qgis itself, so it can't backtrack dirs. You would have to hardcode an install_name_tool *after* install (somehow) in the cmakelists.txt. The other solution is to create symlinks in qgis_help back to libqgis_core.dylib, and not worry about the install_name.
> On Dec 21, 2009, at 3:31 PM, John C. Tull wrote:
>> Hi William,
>> Context help works great in the xcode build system you have provided. For some reason, it is not working with cmake builds. I wondered if there was some customization code that needs to be included in the cmake process that can be gleaned from your work on getting it built with xcode. If you have any thoughts on this, that would be great.
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> "I ache, therefore I am. Or in my case - I am, therefore I ache."
> - Marvin
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer