C

MCU.Config.platformAlphaPixelFormat

The default pixel format for transparent image assets.

Description

This property can be used to choose a default pixel format for the transparent image assets.

Supported values of this variable are

  • ARGB8888
  • ARGB4444

The default value for this is, "ARGB8888".

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

Usage

MCU.Config {
    platformAlphaPixelFormat: "ARGB8888"
}

Since

This property was introduced in QmlProject API 1.3 .

See also Qt Quick Ultralite Platform Porting Guide and QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA.

Available under certain Qt licenses.
Find out more.