C
MCU.Config.platformOpaquePixelFormat
Defines a default pixel format for opaque image assets.
Description
This property can be used to define a default pixel format for the opaque image assets. Supported values of this variable are
- XRGB8888
- RGB888
- RGB565
- RGB332
The default format is "XRGB8888"
.
Note: This property must be set in BoardDefaults.qmlprojectconfig
. See the Qt Quick Ultralite Platform Porting Guide for more information.
Usage
MCU.Config { platformOpaquePixelFormat: "XRBG8888" }
Since
This property was introduced in QmlProject API 1.3 .
See also QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE.
Available under certain Qt licenses.
Find out more.