C

BinaryFiles.MCU.Experimental.resourceAlignment

Byte alignment for binary data.

Description

The binary data will be byte-aligned to the given number. It takes a number that is a power of 2 (1,2,4,8).

Usage

This property is accepted in any context where its parent node is accepted. It takes an integer.

Code example:

BinaryFiles {
    MCU.Experimental.resourceAlignment: 128
}

Note: This property can also be applied to every resource in the QmlProject file if defined in MCU.Config as follows:

MCU.Config {
    Experimental.resourceAlignment: 128
}

Warning: Resource alignment in MCU.Config is also applied to every image resource.

Since

This property was introduced in Qt Quick Ultralite 2.9.

See also Qt Quick Ultralite Platform Porting Guide and QUL_RESOURCE_ALIGNMENT.

Available under certain Qt licenses.
Find out more.