[Qgis-developer] Rethinking the testing and release procedure of QGIS

Martin Dobias wonder.sk at gmail.com
Mon Jul 11 17:35:58 EDT 2011


On Mon, Jul 11, 2011 at 12:03 PM, Sandro Santilli <strk at keybit.net> wrote:
> On Mon, Jul 11, 2011 at 11:33:10AM +0200, Martin Dobias wrote:
>> I still have it uncommitted somewhere. Basically what I was trying to
>> do was to override the path where compiled files are created -- to a
>> directory structure resembling qgis tree when installed. There is
>> still an issue with various resources (srs database, svg files etc)
>> that are outside the build tree. On linux this could be handled by
>> some symlinks, however on windows we would probably need to copy these
>> files or use some other tricks.
>
> What about allowing specifying different paths for different assets
> overriding the default [TREE]/hard_coded_path ?
>
> Could be done with environmental variables.

QGIS already supports overriding of default paths for various assets
by some calls to QgsApplication static methods. Adding the possibility
to override them with environmental variables should be trivial,
however I hoped to avoid an additional step such as passing command
line arguments or setting temporary enviromental variables.

Martin


More information about the Qgis-developer mailing list