Extending Qt Creator Manual | Target

Extending Qt Creator Manual 4.3.0

# Target Class

(ProjectExplorer::Target)

Inherits: | ProjectExplorer::ProjectConfiguration

- List of all members, including inherited members

## Public Functions

BuildConfiguration * | activeBuildConfiguration() const
DeployConfiguration * | activeDeployConfiguration() const
RunConfiguration * | activeRunConfiguration() const
void | addBuildConfiguration(BuildConfiguration *configuration)
void | addDeployConfiguration(DeployConfiguration *dc)
void | addRunConfiguration(RunConfiguration *runConfiguration)
BuildTargetInfoList | applicationTargets() const
QList<BuildConfiguration *> | buildConfigurations() const
QList<DeployConfiguration *> | deployConfigurations() const
DeploymentData | deploymentData() const
QIcon | icon() const
bool | isEnabled() const
Kit * | kit() const
QVariant | namedSettings(const QString &name) const
QIcon | overlayIcon() const
QString | overlayIconToolTip()
Project * | project() const
bool | removeBuildConfiguration(BuildConfiguration *configuration)
bool | removeDeployConfiguration(DeployConfiguration *dc)
void | removeRunConfiguration(RunConfiguration *runConfiguration)
QList<RunConfiguration *> | runConfigurations() const
void | setActiveRunConfiguration(RunConfiguration *runConfiguration)
void | setApplicationTargets(const BuildTargetInfoList &appTargets)
void | setDeploymentData(const DeploymentData &deploymentData)
void | setNamedSettings(const QString &name, const QVariant &value)
void | setOverlayIcon(QIcon icon)
void | updateDefaultBuildConfigurations()
void | updateDefaultDeployConfigurations()
void | updateDefaultRunConfigurations()

- 11 public functions inherited from ProjectExplorer::ProjectConfiguration

## Signals

void | activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration *)
void | activeDeployConfigurationChanged(ProjectExplorer::DeployConfiguration *dc)
void | activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc)
void | addedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
void | addedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)
void | addedRunConfiguration(ProjectExplorer::RunConfiguration *rc)
void | applicationTargetsChanged()
void | buildConfigurationEnabledChanged()
void | buildDirectoryChanged()
void | deployConfigurationEnabledChanged()
void | deploymentDataChanged()
void | environmentChanged()
void | iconChanged()
void | kitChanged()
void | overlayIconChanged()
void | removedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
void | removedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)
void | removedRunConfiguration(ProjectExplorer::RunConfiguration *rc)
void | runConfigurationEnabledChanged()
void | targetEnabled(bool)

- 2 signals inherited from ProjectExplorer::ProjectConfiguration

## Member Function Documentation

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

### `[signal]` void Target::activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration *)

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

### `[signal]` void Target::activeDeployConfigurationChanged(ProjectExplorer::DeployConfiguration *dc)

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

See also setActiveRunConfiguration().

### `[signal]` void Target::activeRunConfigurationChanged(ProjectExplorer::RunConfiguration *rc)

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

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

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

### `[signal]` void Target::addedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)

### `[signal]` void Target::addedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)

### `[signal]` void Target::addedRunConfiguration(ProjectExplorer::RunConfiguration *rc)

### BuildTargetInfoList Target::applicationTargets() const

See also setApplicationTargets().

### `[signal]` void Target::applicationTargetsChanged()

### `[signal]` void Target::buildConfigurationEnabledChanged()

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

### `[signal]` void Target::buildDirectoryChanged()

### `[signal]` void Target::deployConfigurationEnabledChanged()

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

### DeploymentData Target::deploymentData() const

See also setDeploymentData().

### `[signal]` void Target::deploymentDataChanged()

### `[signal]` void Target::environmentChanged()

### QIcon Target::icon() const

### `[signal]` void Target::iconChanged()

### bool Target::isEnabled() const

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

### `[signal]` void Target::kitChanged()

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

See also setNamedSettings().

### QIcon Target::overlayIcon() const

See also setOverlayIcon().

### `[signal]` void Target::overlayIconChanged()

### QString Target::overlayIconToolTip()

### Project *Target::project() const

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

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

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

### `[signal]` void Target::removedBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)

### `[signal]` void Target::removedDeployConfiguration(ProjectExplorer::DeployConfiguration *dc)

### `[signal]` void Target::removedRunConfiguration(ProjectExplorer::RunConfiguration *rc)

### `[signal]` void Target::runConfigurationEnabledChanged()

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

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

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(QIcon icon)

See also overlayIcon().

### `[signal]` void Target::targetEnabled(bool)

### void Target::updateDefaultBuildConfigurations()

### void Target::updateDefaultDeployConfigurations()

### void Target::updateDefaultRunConfigurations()