Set texture/image cache size.


The maximum size of the image cache in bytes. A non-zero value allows for caching of images that are stored in slow flash (see QUL_COPY_TO_RAM) or in compressed form (see QUL_COMPRESSION). The cache size must be set to at least the size of the biggest cached image. Otherwise that image cannot fit into the cache.

Note: This variable must be set before calling add_executable() to add an executable target, which uses caching. Otherwise, it will not take effect.


This variable was introduced in Qt Quick Ultralite 1.1.

See also Qt Quick Ultralite image caching, QUL_COPY_TO_RAM, and QUL_COMPRESSION.

Available under certain Qt licenses.
Find out more.