[QGIS-trac] [Quantum GIS] #2433: Fix relative paths from absolute-with-symlinks

Quantum GIS qgis at qgis.org
Thu Feb 11 19:00:07 EST 2010


#2433: Fix relative paths from absolute-with-symlinks
--------------------------------+-------------------------------------------
   Reporter:  strk              |              Owner:  nobody       
       Type:  patch             |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.5.0
  Component:  Build/Install     |            Version:  HEAD         
   Keywords:                    |   Platform_version:               
   Platform:  Debian            |           Must_fix:  No           
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 If your project file refers to resources by absolute path but the absolute
 path is formed by symlinks, the current code resolve them to a suboptimal
 ../../../../../looking/path.

 This patch uses QT library to "canonicalize" the absolute path prior to
 resolve against project dir.

 It is not tested under WIN.
 It would likely need canonicalization of the project filename too to be
 complete.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2433>
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