C
QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE
Warning: This CMake variable is deprecated since 2.4, consider using MCU.Config.platformOpaquePixelFormat 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 opaque image assets.
Description
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
- XRGB8888
- RGB888
- RGB565
- RGB332
Note: RGB888 is currently implemented same way as XRGB8888 (assets are 32-bit).
Since
This variable was introduced in Qt Quick Ultralite 2.0.
See also Getting Started with CMake.
Available under certain Qt licenses.
Find out more.