Is it possible to make QGIS 3 portable with changed location for Qgis setup parameters folder.
For QGIS 2 it looked like this in qgis.bat file:
qgis –optionspath "X:\qgis" –configpath "X:\qgisini"
For QGIS 3 it doesn't work. Setup parameters are default placed in:
C:\Users\xxx\AppData\Roaming\QGIS
Best Answer
Those parameters have been removed in favour of the new
--profiles-path
option. You can set this to the root folder that will contain the profiles for the sessions--profiles-path C:\temp\myqgisprofiles\
On Windows make a shortcut to the qgis-bin.exe and attach the parameter to the 'target' field.
This will make
C:\temp\myqgisprofiles\profiles\default
When run the first time.
Profiles are a new feature in QGIS 3 to keep settings and plugins, etc isolated from each other.