Target Class | Extending Qt Creator Manual

Extending Qt Creator Manual | Target

Extending Qt Creator Manual 4.6.0

# Target Class

(ProjectExplorer::Target)

Inherits: | ProjectExplorer::ProjectConfiguration

- List of all members, including inherited members

## Public Functions

| ~Target() override
void | aboutToRemoveProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)
BuildConfiguration * | activeBuildConfiguration() const
void | activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration *)
DeployConfiguration * | activeDeployConfiguration() const
void | activeDeployConfigurationChanged(ProjectExplorer::DeployConfiguration *dc)
void | activeProjectConfigurationChanged(ProjectExplorer::ProjectConfiguration *pc)
RunConfiguration * | activeRunConfiguration() const
void | activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc)
void | addBuildConfiguration(BuildConfiguration *bc)
void | addDeployConfiguration(DeployConfiguration *dc)
void | addRunConfiguration(RunConfiguration *rc)
void | addedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
void | addedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)
void | addedProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)
void | addedRunConfiguration(ProjectExplorer::RunConfiguration *rc)
BuildTargetInfoList | applicationTargets() const
void | applicationTargetsChanged()
QList<BuildConfiguration *> | buildConfigurations() const
QList<DeployConfiguration *> | deployConfigurations() const
DeploymentData | deploymentData() const
void | deploymentDataChanged()
QIcon | icon() const
void | iconChanged()
bool | isEnabled() const
Kit * | kit() const
void | kitChanged()
QVariant | namedSettings(const QString &name) const
QIcon | overlayIcon() const
void | overlayIconChanged()
QString | overlayIconToolTip()
QList<ProjectConfiguration *> | projectConfigurations() const
bool | removeBuildConfiguration(BuildConfiguration *bc)
bool | removeDeployConfiguration(DeployConfiguration *dc)
void | removeRunConfiguration(RunConfiguration *rc)
void | removedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
void | removedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)
void | removedProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)
void | removedRunConfiguration(ProjectExplorer::RunConfiguration *rc)
QList<RunConfiguration *> | runConfigurations() const
void | setActiveRunConfiguration(RunConfiguration *rc)
void | setApplicationTargets(const BuildTargetInfoList &appTargets)
void | setDeploymentData(const DeploymentData &deploymentData)
void | setNamedSettings(const QString &name, const QVariant &value)
void | setOverlayIcon(const QIcon &icon)
void | updateDefaultBuildConfigurations()
void | updateDefaultDeployConfigurations()
void | updateDefaultRunConfigurations()

## Reimplemented Public Functions

virtual bool | isActive() const final
virtual Project * | project() const override
virtual QVariantMap | toMap() const override

- 14 public functions inherited from ProjectExplorer::ProjectConfiguration

### Additional Inherited Members

- 2 signals inherited from ProjectExplorer::ProjectConfiguration
- 1 static public member inherited from ProjectExplorer::ProjectConfiguration

## Member Function Documentation

### Target::~Target()

Destroys the instance of Target.

### void Target::aboutToRemoveProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)

### BuildConfiguration *Target::activeBuildConfiguration() const

### void Target::activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration *)

### DeployConfiguration *Target::activeDeployConfiguration() const

### void Target::activeDeployConfigurationChanged(ProjectExplorer::DeployConfiguration *dc)

### void Target::activeProjectConfigurationChanged(ProjectExplorer::ProjectConfiguration *pc)

### RunConfiguration *Target::activeRunConfiguration() const

See also setActiveRunConfiguration().

### void Target::activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc)

### void Target::addBuildConfiguration(BuildConfiguration *bc)

### void Target::addDeployConfiguration(DeployConfiguration *dc)

### void Target::addRunConfiguration(RunConfiguration *rc)

### void Target::addedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)

### void Target::addedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)

### void Target::addedProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)

### void Target::addedRunConfiguration(ProjectExplorer::RunConfiguration *rc)

### BuildTargetInfoList Target::applicationTargets() const

See also setApplicationTargets().

### void Target::applicationTargetsChanged()

### QList<BuildConfiguration *> Target::buildConfigurations() const

### QList<DeployConfiguration *> Target::deployConfigurations() const

### DeploymentData Target::deploymentData() const

See also setDeploymentData().

### void Target::deploymentDataChanged()

### QIcon Target::icon() const

### void Target::iconChanged()

### `[final virtual]` bool Target::isActive() const

### bool Target::isEnabled() const

### Kit *Target::kit() const

### void Target::kitChanged()

### QVariant Target::namedSettings(const QString &name) const

See also setNamedSettings().

### QIcon Target::overlayIcon() const

See also setOverlayIcon().

### void Target::overlayIconChanged()

### QString Target::overlayIconToolTip()

### `[override virtual]` Project *Target::project() const

### QList<ProjectConfiguration *> Target::projectConfigurations() const

### bool Target::removeBuildConfiguration(BuildConfiguration *bc)

### bool Target::removeDeployConfiguration(DeployConfiguration *dc)

### void Target::removeRunConfiguration(RunConfiguration *rc)

### void Target::removedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)

### void Target::removedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)

### void Target::removedProjectConfiguration(ProjectExplorer::ProjectConfiguration *pc)

### void Target::removedRunConfiguration(ProjectExplorer::RunConfiguration *rc)

### QList<RunConfiguration *> Target::runConfigurations() const

### void Target::setActiveRunConfiguration(RunConfiguration *rc)

See also activeRunConfiguration().

### void Target::setApplicationTargets(const BuildTargetInfoList &appTargets)

See also applicationTargets().

### void Target::setDeploymentData(const DeploymentData &deploymentData)

See also deploymentData().

### void Target::setNamedSettings(const QString &name, const QVariant &value)

See also namedSettings().

### void Target::setOverlayIcon(const QIcon &icon)

See also overlayIcon().

### `[override virtual]` QVariantMap Target::toMap() const

### void Target::updateDefaultBuildConfigurations()

### void Target::updateDefaultDeployConfigurations()

### void Target::updateDefaultRunConfigurations()