summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorArttu Tarkiainen <arttu.tarkiainen@qt.io>2020-02-24 11:49:17 +0200
committerArttu Tarkiainen <arttu.tarkiainen@qt.io>2020-03-02 08:11:55 +0000
commit76e113b90afe5555f39b2aa37edc8137d661a1ac (patch)
treee7f4cd4ecd684b0992d9f29fe160258e156bf9e3 /doc
parent187239ddbc37b7d98a825c5fff44e29c8561270d (diff)
Add command line option to start the installer binary as uninstaller
Add option "--uninstaller" to start the installer binary explicitly as uninstaller. This complements options "--updater" and "--manage-packages". Add convenience functions for setting and checking if the magic binary marker has been set by the user. Task-number: QTIFW-1639 Change-Id: Ie40ba9c56e09be079e309bca985b19a8a7bef7ef Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index d09234ff8..e8191d99e 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -746,6 +746,12 @@
*/
/*!
+ \qmlmethod boolean installer::isUserSetBinaryMarker()
+
+ Returns \c true if the magic binary marker has been set by user.
+*/
+
+/*!
\qmlmethod boolean installer::runInstaller()
Runs the installer. Returns \c true on success, \c false otherwise.