By default, Qt Quick Ultralite would automatically try to choose the optimal color depth for the image, depending on platform settings.

With the introduction of the SpriteLayer, ImageLayer and ItemLayer API in Qt Quick Ultralite 1.7, it might be necessary to select a color depth for an image depending on which layer it's meant to be used with.

On certain platforms (such as RH850), sprite layers require that all the contained item and image layer have a compatible color depth.

And also when an opaque image is intended to be shown in a 16-bit item layer it might be a waste to use 32-bit color depth for the image.

This property enables setting the preferred color depth for an image.

Possible values are 16, 32, and "Automatic". The default value is "Automatic".


This property was introduced in Qt Quick Ultralite 1.7.

See also Default Resource Properties.

Available under certain Qt licenses.
Find out more.