Warning: This CMake variable is deprecated since 2.4, consider using MCU.Config.platformAlphaPixelFormat instead.

Note: Board defaults can be set using QmlProject in the BoardDefaults.qmlprojectconfig files. See Qt Quick Ultralite Platform Porting Guide.

The default pixel format to be used for transparent image assets.


When compiling image assets the resource compiler will use the format specified in this variable if no format is specified otherwise.

This variable is set in BoardDefaults.cmake. See the Qt Quick Ultralite Platform Porting Guide for more information.

Supported values of this variable are

  • ARGB8888
  • ARGB4444


This variable was introduced in Qt Quick Ultralite 2.0.

See also Getting Started with CMake.

Available under certain Qt licenses.
Find out more.