Qt Quick Ultralite defaults to drawing each glyph or character in a text separately until the next frame, if the text cache is full. A platform can retain the cached entries for more than one frame by setting this CMake variable to 1. It is a useful feature to have especially when the command buffer or triple buffering technique is in use. Default value is 0. Refer to Text Rendering and Fonts for more information.

This variable is set as the Platform target property in the CMakeLists.txt file for the target platform.

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


This variable was introduced in Qt Quick Ultralite 2.1.

See also Text Caching.

Available under certain Qt licenses.
Find out more.