Sets the default rendering hint for the platform layer engine.


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().


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


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.