Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow qgis_global_settings.ini in standard locations #31288

Closed
m-kuhn opened this issue Aug 19, 2019 · 0 comments
Closed

Allow qgis_global_settings.ini in standard locations #31288

m-kuhn opened this issue Aug 19, 2019 · 0 comments

Comments

@m-kuhn
Copy link
Member

m-kuhn commented Aug 19, 2019

Currently the qgis_global_settings.ini file is searched for by

  • App Parameter
  • Env Variable
  • Install directory

The first two require startup configuration (param, env) or system manipulation (env) whereas the last one is overwritten on updates.

It would be nice to include additional search paths between install and env, based on QStandardPaths. This would allow to provide the files in default locations, managed by the sys admin (or user) which are untouched by the installer and will be taken without any manual application startup configuration.

I'd propose QStandardPaths::AppDataLocation, where also startup.py and templates are stored.

alexbruy added a commit that referenced this issue Apr 24, 2020
look for qgis_global_settings.ini also in the AppDataLocation (fix #31288)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant