GccToolChain Class | Extending Qt Creator Manual

Extending Qt Creator Manual | GccToolChain

Extending Qt Creator Manual 4.3.0

# GccToolChain Class

(ProjectExplorer::GccToolChain)

Inherits: | ProjectExplorer::ToolChain

- List of all members, including inherited members

## Public Types

class | DetectedAbisResult

## Public Functions

| GccToolChain(Core::Id typeId, Detection d)
QStringList | platformCodeGenFlags() const
QStringList | platformLinkerFlags() const
void | resetToolChain(const Utils::FileName &)
void | setPlatformCodeGenFlags(const QStringList &)
void | setPlatformLinkerFlags(const QStringList &)
void | setTargetAbi(const Abi &)
QString | version() const

- 31 public functions inherited from ProjectExplorer::ToolChain

## Static Public Members

void | addCommandPathToEnvironment(const Utils::FileName &command, Utils::Environment &env)

## Protected Types

class | WarningFlagAdder

## Protected Functions

| GccToolChain(const GccToolChain &) = default
virtual CompilerFlags | defaultCompilerFlags() const
virtual QString | defaultDisplayName() const
virtual DetectedAbisResult | detectSupportedAbis() const
virtual QString | detectVersion() const
QByteArray | macroCache(const QStringList &allCxxflags) const
void | setCompilerCommand(const Utils::FileName &path)
void | setMacroCache(const QStringList &allCxxflags, const QByteArray &macros) const
void | setOptionsReinterpreter(const OptionsReinterpreter &optionsReinterpreter)
void | setOriginalTargetTriple(const QString &targetTriple)
void | setSupportedAbis(const QList<Abi> &m_abis)

- 2 protected functions inherited from ProjectExplorer::ToolChain

## Static Protected Members

QList<HeaderPath> | gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env)

## Member Function Documentation

### GccToolChain::GccToolChain(Core::Id typeId, Detection d)

Default constructs an instance of GccToolChain.

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

Copy constructor.

### `[static]` void GccToolChain::addCommandPathToEnvironment(const Utils::FileName &command, Utils::Environment &env)

### `[virtual protected]` CompilerFlags GccToolChain::defaultCompilerFlags() const

### `[virtual protected]` QString GccToolChain::defaultDisplayName() const

### `[virtual protected]` DetectedAbisResult GccToolChain::detectSupportedAbis() const

### `[virtual protected]` QString GccToolChain::detectVersion() const

### `[static protected]` QList<HeaderPath> GccToolChain::gccHeaderPaths(const Utils::FileName &gcc, const QStringList &args, const QStringList &env)

### `[protected]` QByteArray GccToolChain::macroCache(const QStringList &allCxxflags) const

See also setMacroCache().

### QStringList GccToolChain::platformCodeGenFlags() const

See also setPlatformCodeGenFlags().

### QStringList GccToolChain::platformLinkerFlags() const

See also setPlatformLinkerFlags().

### void GccToolChain::resetToolChain(const Utils::FileName &)

### `[protected]` void GccToolChain::setCompilerCommand(const Utils::FileName &path)

### `[protected]` void GccToolChain::setMacroCache(const QStringList &allCxxflags, const QByteArray &macros) const

See also macroCache().

### `[protected]` void GccToolChain::setOptionsReinterpreter(const OptionsReinterpreter &optionsReinterpreter)

### `[protected]` void GccToolChain::setOriginalTargetTriple(const QString &targetTriple)

### void GccToolChain::setPlatformCodeGenFlags(const QStringList &)

See also platformCodeGenFlags().

### void GccToolChain::setPlatformLinkerFlags(const QStringList &)

See also platformLinkerFlags().

### `[protected]` void GccToolChain::setSupportedAbis(const QList<Abi> &m_abis)

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

### QString GccToolChain::version() const