Extending Qt Creator Manual | CustomToolChain

Extending Qt Creator Manual 4.5.2

# CustomToolChain Class

(ProjectExplorer::CustomToolChain)

Inherits: | ProjectExplorer::ToolChain

- List of all members, including inherited members

## Public Types

class | Parser

## Public Functions

CustomParserSettings | customParserSettings() const
const QStringList & | cxx11Flags() const
QStringList | headerPathsList() const
QString | mkspecs() const
Core::Id | outputParserId() const
const Macros & | rawPredefinedMacros() const
void | setCompilerCommand(const Utils::FileName &)
void | setCustomParserSettings(const CustomParserSettings &settings)
void | setCxx11Flags(const QStringList &)
void | setHeaderPaths(const QStringList &list)
void | setMakeCommand(const Utils::FileName &)
void | setMkspecs(const QString &)
void | setOutputParserId(Core::Id parserId)
void | setPredefinedMacros(const Macros &macros)
void | setTargetAbi(const Abi &)

## Reimplemented Public Functions

virtual void | addToEnvironment(Utils::Environment &env) const override
virtual ToolChain * | clone() const override
virtual Utils::FileName | compilerCommand() const override
virtual CompilerFlags | compilerFlags(const QStringList &cxxflags) const override
virtual ToolChainConfigWidget * | configurationWidget() override
virtual PredefinedMacrosRunner | createPredefinedMacrosRunner() const override
virtual SystemHeaderPathsRunner | createSystemHeaderPathsRunner() const override
virtual bool | fromMap(const QVariantMap &data) override
virtual bool | isValid() const override
virtual QString | makeCommand(const Utils::Environment &environment) const override
virtual IOutputParser * | outputParser() const override
virtual Macros | predefinedMacros(const QStringList &cxxflags) const override
virtual Utils::FileNameList | suggestedMkspecList() const override
virtual QList<HeaderPath> | systemHeaderPaths(const QStringList &cxxFlags, const Utils::FileName &) const override
virtual Abi | targetAbi() const override
virtual QVariantMap | toMap() const override
virtual QString | typeDisplayName() const override
virtual WarningFlags | warningFlags(const QStringList &cxxflags) const override
virtual bool | operator==(const ToolChain &) const override

- 31 public functions inherited from ProjectExplorer::ToolChain

## Static Public Members

QList<CustomToolChain::Parser> | parsers()

## Protected Functions

| CustomToolChain(const CustomToolChain &) = default

- 2 protected functions inherited from ProjectExplorer::ToolChain

## Member Function Documentation

### `[default protected]` CustomToolChain::CustomToolChain(const CustomToolChain &)

Copy constructor.

### `[override virtual]` void CustomToolChain::addToEnvironment(Utils::Environment &env) const

### `[override virtual]` ToolChain *CustomToolChain::clone() const

### `[override virtual]` Utils::FileName CustomToolChain::compilerCommand() const

See also setCompilerCommand().

### `[override virtual]` CompilerFlags CustomToolChain::compilerFlags(const QStringList &cxxflags) const

### `[override virtual]` ToolChainConfigWidget *CustomToolChain::configurationWidget()

### `[override virtual]` PredefinedMacrosRunner CustomToolChain::createPredefinedMacrosRunner() const

### `[override virtual]` SystemHeaderPathsRunner CustomToolChain::createSystemHeaderPathsRunner() const

### CustomParserSettings CustomToolChain::customParserSettings() const

See also setCustomParserSettings().

### const QStringList &CustomToolChain::cxx11Flags() const

See also setCxx11Flags().

### `[override virtual]` bool CustomToolChain::fromMap(const QVariantMap &data)

### QStringList CustomToolChain::headerPathsList() const

### `[override virtual]` bool CustomToolChain::isValid() const

### `[override virtual]` QString CustomToolChain::makeCommand(const Utils::Environment &environment) const

See also setMakeCommand().

### QString CustomToolChain::mkspecs() const

See also setMkspecs().

### `[override virtual]` IOutputParser *CustomToolChain::outputParser() const

### Core::Id CustomToolChain::outputParserId() const

See also setOutputParserId().

### `[static]` QList<CustomToolChain::Parser> CustomToolChain::parsers()

### `[override virtual]` Macros CustomToolChain::predefinedMacros(const QStringList &cxxflags) const

See also setPredefinedMacros().

### const Macros &CustomToolChain::rawPredefinedMacros() const

### void CustomToolChain::setCompilerCommand(const Utils::FileName &)

See also compilerCommand().

### void CustomToolChain::setCustomParserSettings(const CustomParserSettings &settings)

See also customParserSettings().

### void CustomToolChain::setCxx11Flags(const QStringList &)

See also cxx11Flags().

### void CustomToolChain::setHeaderPaths(const QStringList &list)

### void CustomToolChain::setMakeCommand(const Utils::FileName &)

See also makeCommand().

### void CustomToolChain::setMkspecs(const QString &)

See also mkspecs().

### void CustomToolChain::setOutputParserId(Core::Id parserId)

See also outputParserId().

### void CustomToolChain::setPredefinedMacros(const Macros &macros)

See also predefinedMacros().

### void CustomToolChain::setTargetAbi(const Abi &)

See also targetAbi().

### `[override virtual]` Utils::FileNameList CustomToolChain::suggestedMkspecList() const

### `[override virtual]` QList<HeaderPath> CustomToolChain::systemHeaderPaths(const QStringList &cxxFlags, const Utils::FileName &) const

### `[override virtual]` Abi CustomToolChain::targetAbi() const

See also setTargetAbi().

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

### `[override virtual]` QString CustomToolChain::typeDisplayName() const

### `[override virtual]` WarningFlags CustomToolChain::warningFlags(const QStringList &cxxflags) const

### `[override virtual]` bool CustomToolChain::operator==(const ToolChain &) const