Abi Class | Extending Qt Creator Manual

Extending Qt Creator Manual | Abi

Extending Qt Creator Manual 4.5.1

# Abi Class

(ProjectExplorer::Abi)

The Abi class represents the Application Binary Interface (ABI) of a target platform. More...

Header: | #include <Abi>

- List of all members, including inherited members

## Public Types

enum | Architecture { ArmArchitecture, X86Architecture, ItaniumArchitecture, MipsArchitecture, ..., UnknownArchitecture }
enum | BinaryFormat { ElfFormat, MachOFormat, PEFormat, RuntimeQmlFormat, UnknownFormat }
enum | OS { BsdOS, LinuxOS, DarwinOS, UnixOS, ..., UnknownOS }
enum | OSFlavor { FreeBsdFlavor, NetBsdFlavor, OpenBsdFlavor, GenericLinuxFlavor, ..., UnknownFlavor }

## Public Functions

| Abi()
| Abi(const Architecture &a, const OS &o, const OSFlavor &so, const BinaryFormat &f, unsigned char w)
| Abi(const QString &abiString)
Architecture | architecture() const
BinaryFormat | binaryFormat() const
bool | isCompatibleWith(const Abi &other) const
bool | isNull() const
bool | isValid() const
OS | os() const
OSFlavor | osFlavor() const
QString | toString() const
unsigned char | wordWidth() const
bool | operator!=(const Abi &other) const
bool | operator==(const Abi &other) const

## Static Public Members

Abi | abiFromTargetTriplet(const QString &machineTriple)
QList<Abi> | abisOfBinary(const Utils::FileName &path)
OSFlavor | flavorForMsvcVersion(int version)
QList<OSFlavor> | flavorsForOs(const OS &o)
Abi | hostAbi()
QString | toString(const Architecture &a)
QString | toString(const OS &o)
QString | toString(const OSFlavor &of)
QString | toString(const BinaryFormat &bf)
QString | toString(int w)

## Detailed Description

The Abi class represents the Application Binary Interface (ABI) of a target platform.

See also ProjectExplorer::ToolChain.

## Member Type Documentation

### enum Abi::Architecture

### enum Abi::BinaryFormat

### enum Abi::OS

### enum Abi::OSFlavor

## Member Function Documentation

### Abi::Abi()

Default constructs an instance of Abi.

### Abi::Abi(const Architecture &a, const OS &o, const OSFlavor &so, const BinaryFormat &f, unsigned char w)

Default constructs an instance of Abi.

### Abi::Abi(const QString &abiString)

Default constructs an instance of Abi.

### `[static]` Abi Abi::abiFromTargetTriplet(const QString &machineTriple)

### `[static]` QList<Abi> Abi::abisOfBinary(const Utils::FileName &path)

### Architecture Abi::architecture() const

### BinaryFormat Abi::binaryFormat() const

### `[static]` OSFlavor Abi::flavorForMsvcVersion(int version)

### `[static]` QList<OSFlavor> Abi::flavorsForOs(const OS &o)

### `[static]` Abi Abi::hostAbi()

### bool Abi::isCompatibleWith(const Abi &other) const

### bool Abi::isNull() const

### bool Abi::isValid() const

### OS Abi::os() const

### OSFlavor Abi::osFlavor() const

### QString Abi::toString() const

### `[static]` QString Abi::toString(const Architecture &a)

### `[static]` QString Abi::toString(const OS &o)

### `[static]` QString Abi::toString(const OSFlavor &of)

### `[static]` QString Abi::toString(const BinaryFormat &bf)

### `[static]` QString Abi::toString(int w)

### unsigned char Abi::wordWidth() const

### bool Abi::operator!=(const Abi &other) const

### bool Abi::operator==(const Abi &other) const