C
MCU.Config.platformImageAlignment
Defines the minimum alignment for image data.
Description
This property can be used to define the minimum alignment for image data. It takes a number that is a power of 2 (1,2,4,8), and is not set by default.
Note: This property must be set in BoardDefaults.qmlprojectconfig
. See the Qt Quick Ultralite Platform Porting Guide for more information.
Note: platformImageAlignment
is propagated to Qt Quick Ultralite runtime through Qul::Platform::PlatformContext::config(), and to host tools through the build system integration.
Usage
This property is accepted in BoardDefaults.qmlprojectconfig
for the target platform. It takes an integer.
Code example:
MCU.Config { platformImageAlignment: 2 }
Since
This property was introduced in QmlProject API 1.3 .
See also Qt Quick Ultralite Platform Porting Guide and QUL_PLATFORM_REQUIRED_IMAGE_ALIGNMENT.
Available under certain Qt licenses.
Find out more.