summaryrefslogtreecommitdiffstats
path: root/doc/installerfw.qdoc
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-09-23 19:37:31 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-09-25 10:32:30 +0300
commit02f8711dc250b4c4f07ea7b43cbb0904496b1cb3 (patch)
tree91357567cd4dfe0c0df14e2b21f5ef871fcce14e /doc/installerfw.qdoc
parent557feae54796a861f6076d30df17958e14debb4c (diff)
CLI: Give more meaningfull return value for installs
Instead of returning just true or false when running installer or maintenancetool, utilize the PackagemanagerCore status message. Added also a new status enum, EssentialUpdated, which is returned when calling command 'update' and only essential components are updated. Also fixed a bug when components could be installed even when there were an essential update available. Task-number: QTIFW-1969 Change-Id: I43826301656573b34e1338b49566d199bdcd7468 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/installerfw.qdoc')
-rw-r--r--doc/installerfw.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index 42f410ec3..a77459b1f 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -159,6 +159,10 @@
separated by space. The \c <key=value> list is used to set internal key-value
pairs by the framework.
+ Installer will return an exit code after it is executed. Exit code can be used
+ to determine whether the installation was successful, if the installation has
+ an mandatory update etc. See \c PackagemanagerCore::Status.
+
\section1 Summary of Options
Options marked with \c CLI are only available when running in headless mode,