On this page

C

QUL_PLATFORM_DEFAULT_TEXT_CACHE_SIZE

Description

Defaults to 0, which disables the text cache, unless the platform explicitly defines a cache size. A non-zero value is the text cache size in bytes.

Size it to the RAM available on the platform and to the amount of text typically on screen at once; a larger cache reduces eviction but uses more memory. The existing reference platforms use defaults between 24 KB and 256 KB.

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

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

Since

This variable was introduced in Qt Quick Ultralite 2.1.

See also Text Caching.

Available under certain Qt licenses.
Find out more.