C
MCU.Config.platformDefaultLayerRenderingHints
Sets the default rendering hint for the platform layer engine.
Description
This property defines the default rendering hint for the platform layer engine. If not specified, the default value is 2
which corresponds to LayerBase.OptimizeForSize
.
Note: This property must be set in BoardDefaults.qmlprojectconfig
. See the Qt Quick Ultralite Platform Porting Guide for more information.
Note: platformDefaultLayerRenderingHints
is propagated to Qt Quick Ultralite runtime through Qul::Platform::PlatformContext::config().
Usage
This property is accepted in BoardDefaults.qmlprojectconfig
for the target platform. It takes an integer.
Code example:
Setting the default layer rendering hint to LayerBase.OptimizeForSpeed
.
MCU.Config { platformDefaultLayerRenderingHints: 1 }
Since
This property was introduced in QmlProject API 1.3.
See also QUL_PLATFORM_DEFAULT_LAYER_RENDERING_HINTS and Qul::PlatformInterface::LayerEngine::RenderingHints.
Available under certain Qt licenses.
Find out more.