Hi Bo, On Sun, 19. Jul 2015 at 11:42:36 +0200, Bo Victor Thomsen wrote: > This would be a _vast_ improvement for a lot of QGIS users.
And probably a big regression for a lot of others. > Introducing the posibility of using environment variables > (%USERPROFILE%) and tokens (@version@) The "tokens" are already currently used at packaging time. > Instead of have lines like this in in the QGIS2.ini file: > *Configuration\SAGA_FOLDER=E:/OSGeo4W/apps\\saga* The keypoint is to identify what tools refer to paths from the settings - and change those to save and retrieve paths relative to QgsApplication::prefixPath() (similar to QgsProject::readPath/writePath for project relative paths) and "c:/osgeo4w/apps/saga/saga_cmd" used at runtime would be turned into "../saga/saga_cmd" in the settings. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on FreeNode
signature.asc
Description: Digital signature
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
