QGIS/ms-windows/osgeo4w/qgis.vars
Juergen E. Fischer 801184a8a1 osgeo4w: add a minimal exe wrapper to initialize the enviroment and load
qgis_app.dll (inspired by Nathan's PR #4156)

On install each shortcut/configuration gets a own copy of the (small)
exe.  That exe is started through the batch file that originally was
used to start the app at runtime. Argument --exit will cause the wrapper
to just dump the environment to an .env file next to the copy of the
.exe.  The created shortcuts now point at those .exes instead of the
batch files.

At runtime the .exes source their .env file to get a working environment
to run QGIS (ie. qgis_app.dll).  This for example allows the application
to be pinned to the taskbar and avoids the of necessity of batch files
at runtime to start the app.
2017-02-19 13:47:38 +01:00

23 lines
281 B
Plaintext

PATH
GDAL_DATA
GDAL_DRIVER_PATH
GDAL_FILENAME_IS_UTF8
GEOTIFF_CSV
GISBASE
GRASS_HTML_BROWSER
GRASS_PROJSHARE
GRASS_PYTHON
GRASS_SH
GRASS_WISH
JPEGMEM
NLS_LANG
OSGEO4W_ROOT
PROJ_LIB
PYTHONHOME
PYTHONPATH
QGIS_PREFIX_PATH
QT_PLUGIN_PATH
QT_RASTER_CLIP_LIMIT
VSI_CACHE
VSI_CACHE_SIZE