summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2019-06-28 13:13:28 +0300
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2019-08-16 08:30:41 +0000
commit28f92d37842ef087ab4f35ae7018b6366d0044e9 (patch)
treeed27594716da82765e7bb16c307c084f55ced48f /doc
parent3946e2f8607282e054a76b119f1819b2535a0b8a (diff)
Change ApplicationsDir variable on macOS to return "/Applications"
QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation) first element returns $HOME/Applications, as being user writable it has a higher priority. Change the variable to return system wide /Applications as it is a more expected default. Add the user-specific applications directory as its own variable, and make associated documentation changes. Task-number: QTIFW-1011 Change-Id: Ia81a1f5dafdea8665d5f9fc1df3799e59858e5aa Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/scripting.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/scripting.qdoc b/doc/scripting.qdoc
index 708345c7d..e7e398c61 100644
--- a/doc/scripting.qdoc
+++ b/doc/scripting.qdoc
@@ -270,6 +270,12 @@
See also the table that lists examples of \l {Applications-directory-on-Windows}
{applications directories on Windows}.
\row
+ \li ApplicationsDirUser
+ \li Applications directory for user-specific programs. This is useful on macOS,
+ on other platforms it is the same as \c ApplicationsDir.
+
+ For example, \c {$HOME/Applications} on macOS.
+ \row
\li ApplicationsDirX86
\li Applications Directory for 32 bit programs. This is useful on Windows,
on other platforms it is the same as \c ApplicationsDir.