[QGIS-trac] Re: [Quantum GIS] #2294: help dialogs don't woks on osx

Quantum GIS qgis at qgis.org
Fri Dec 18 12:43:27 EST 2009


#2294: help dialogs don't woks on osx
--------------------------------------------------------------+-------------
        Reporter:  epifanio                                   |         Owner:  dassau       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.4.0
       Component:  Documentation and Help                     |       Version:  HEAD         
      Resolution:                                             |      Keywords:  qgis_help    
Platform_version:                                             |      Platform:  OS X         
        Must_fix:  No                                         |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by kyngchaos):

 known issue, sortof.  The qgis libraries link with the @executable_path
 relative path, which inside the qgis_help 'app' have the wrong relative
 path.  I thought it was fixed in the cmake build.  It certainly is not
 problem in the xcode build.

 One way to fix it is to make a symlink in the qgis_help contents/macos to
 the qgis lib folder.

 {{{
 ln -s ../../../../lib /path/to/qgis_help/Contents/MacOS/
 }}}

 Better is to change the install_name in the qgis_help binary.  I don't
 know how to do this in the cmake build.  Manually, after install, would
 be:

 {{{
 install_name_tool -change @executable_path/lib/libqgis_core.1.4.0.dylib \
 @executable_path/../../../../lib/libqgis_core.1.4.0.dylib \
 /path/to/qgis_help/Contents/MacOS/qgis_help
 }}}

 Or, I personally recommend the Xcode build.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2294#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list