From 50f191eaba9b076675a52252dd8f2a5aaf5b1bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Tue, 22 Mar 2016 16:18:21 +0100 Subject: Add support for get QStandardPaths locations. Inside desktop files we want to reach also data, cache and config home to create files inside these directories. REVIEW: 127462 CHANGELOG: Add support for get QStandardPaths locations inside desktop files. --- docs/options.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/options.md b/docs/options.md index c7a6c061..ba7e2d89 100644 --- a/docs/options.md +++ b/docs/options.md @@ -90,4 +90,10 @@ The following syntax for environment variables is also supported: Name[$ei]=${USER} +There are three environment variables that have a fallback strategy if the +environment variable is not set. They instead map to a location from QStanardPaths. +They are: + `$QT_CACHE_HOME` - QStandardPaths::GenericConfigLocation + `$QT_CONFIG_HOME` - QStandardPaths::GenericConfigLocation + `$QT_DATA_HOME` - QStandardPaths::GenericDataLocation -- cgit v1.2.1