summaryrefslogtreecommitdiffstats
path: root/doc/scripting-api
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2024-12-02 12:20:08 +0200
committerKatja Marttila <katja.marttila@qt.io>2024-12-02 15:18:54 +0200
commitb49ccc55971d1c60af76f0fb40e194b065ce6e86 (patch)
tree3f84af8a7d0cfbd5c0379d14b683cf7355a379f3 /doc/scripting-api
parentf392c4fdff4c8ef44480825387c0e5e6b312eefa (diff)
Add ability to ask some command line details
Added possibity to ask from script if --nd (--no-default-installations), --nf (--no-force-installations), or --sv (--show-virtual-components) options are set when running installer from CLI. Change-Id: I6a90573cc05360d4a51673cea0d23cd5ef3f80cc Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/scripting-api')
-rw-r--r--doc/scripting-api/packagemanagercore.qdoc26
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/scripting-api/packagemanagercore.qdoc b/doc/scripting-api/packagemanagercore.qdoc
index b3c060eef..e24ee9f16 100644
--- a/doc/scripting-api/packagemanagercore.qdoc
+++ b/doc/scripting-api/packagemanagercore.qdoc
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2023 The Qt Company Ltd.
+** Copyright (C) 2024 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Installer Framework.
@@ -659,6 +659,30 @@
*/
/*!
+ \qmlmethod bool installer::noDefaultInstallation()
+
+ Returns \c true if components are not selected by default although
+ \c <Default> element is set in the package information file.
+
+*/
+
+/*!
+ \qmlmethod bool installer::noForceInstallation()
+
+ Returns \c true if forced installation is not set for all components for
+ which the <ForcedInstallation> element is set in the package information
+ file.
+
+*/
+
+/*!
+ \qmlmethod bool installer::virtualComponentsVisible()
+
+ Returns \c true if virtual components are visible.
+
+*/
+
+/*!
\qmlmethod void installer::setDependsOnLocalInstallerBinary()
Makes sure the installer runs from a local drive. Otherwise the user will get an