summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-03-21 23:42:44 +0100
committerRobert Griebl <robert.griebl@qt.io>2022-03-22 14:44:39 +0000
commitbc06a04dd845d039ba802f94b5eae57519ec63a8 (patch)
treef8080dff2b7f24a20661b9dc1d1340af93c30375 /doc
parent8f0a7fc2429b01f4196e615e1dff2be13f26306d (diff)
downloadqtapplicationmanager-bc06a04dd845d039ba802f94b5eae57519ec63a8.tar.gz
Handle an empty or invalid documentDir correctly
Not specifying the documentDir, but enabling the installer would - unexpectedly - use $PWD as documentDir. The code does now follow the documentation: if not set, no document directories will be created on package installation. Also, we now fail early if the documentDir and installationDir are sub-directories of each other, as that would lead to mayhem on PackageManager::cleanupBrokenInstallations(). Change-Id: Id8d89f82bf0d63c771f3d86a963c66681f43f195 Fixes: QTBUG-101881 Pick-to: 6.3 6.2 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/configuration.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/configuration.qdoc b/doc/configuration.qdoc
index 171997c2..fa1935b4 100644
--- a/doc/configuration.qdoc
+++ b/doc/configuration.qdoc
@@ -192,6 +192,9 @@ ui:
\li string
\li The base directory for per-package document storage directories.
(default: empty/disabled)
+
+ Please note, that if you do not set a \c documentDir here, no per-application
+ document directories will be created when installing new packages.
\row
\li [\c applications/installationDirMountPoint]
\li string