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.

This variable is set as a Platform target property in the CMakeLists.txt file for the target platform. See the Qt Quick Ultralite Platform Porting Guide for more information.

Note: This variable is overridden if the BoardDefaults.qmlprojectconfig contains the platformDefaultLayerRenderingHints property in the MCU.Config node.

Note: QUL_PLATFORM_DEFAULT_LAYER_RENDERING_HINTS is propagated to Qt Quick Ultralite runtime through Qul::Platform::PlatformContext::config().


This variable was introduced in Qt Quick Ultralite 2.7.

See also MCU.Config.platformDefaultLayerRenderingHints and Qul::PlatformInterface::LayerEngine::RenderingHints.

Available under certain Qt licenses.
Find out more.