Warning: This CMake variable is deprecated since 2.4, consider using MCU.Config.platformAlphaCompressedLosslessResourcePixelFormat 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 lossless compression of transparent image assets.


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

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

Supported values of this variable are

  • ARGB8888RLE
  • None

If not specified the default value is ARGB8888RLE. The value None can be used for platforms where lossless compression is not available. In that case the resource will not be compressed and the resource compiler will automatically choose the most appropriate pixel format.


This variable was introduced in Qt Quick Ultralite 2.1.

See also Getting Started with CMake.

Available under certain Qt licenses.
Find out more.