ComponentType Class

(QInstaller::PackageManagerCore::ComponentType)

The ComponentType class describes a component list. More...

Header: #include <ComponentType>

Detailed Description

The ComponentType class describes a component list.

This class is used with the components() function to describe what type of Component list it should return.

  • Root returns a list of root components.
  • Descendants returns a list of all descendant components.

    Note: In updater mode the list is empty, because component updates cannot have children.

  • Dependencies returns a list of all available dependencies when run as updater.

    Note: When running as installer, package manager, or uninstaller, this will always result in an empty list.

  • Replacements returns a list of all available replacement components relevant to the run mode.
  • AllNoReplacements returns a list of available components, including root, descendant, and dependency components relevant to the run mode.
  • All returns a list of all available components, including root, descendant, dependency, and replacement components relevant to the run mode.