C

MCU.Config.platformPixelWidthAlignment

Description

Use this property to define a pixel alignment for image assets on a platform. It take a number that is a power of 2 (1,2,4,8), and is set to 1 by default.

Note: This property must be set in BoardDefaults.qmlprojectconfig. See the Qt Quick Ultralite Platform Porting Guide for more information.

Usage

MCU.Config {
    platformPixelWidthAlignment: 4
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_PLATFORM_REQUIRED_PIXEL_WIDTH_ALIGNMENT.

Available under certain Qt licenses.
Find out more.