C

ImageFiles.MCU.resourceStorageSection

Define the asset's storage section

Description

This property can be used to define a memory section that the image assets should be stored in. It takes a string value, and its default value is "QulResourceData".

Note: The given section must appear in the linker script. See Linker script setup for more information.

Usage

This property is accepted in any context where its parent node is accepted. It takes a string.

Code example:

ImageFiles {
    MCU.resourceStorageSection: "QulResourceData"
}

Note: This property can also be applied to every resource in the QmlProject file if defined in MCU.Config as follows:

MCU.Config {
    resourceStorageSection: "QulResourceData"
}

Warning: Resource storage section in MCU.Config is also applied to every binary resource.

Since

This property was introduced in QmlProject API 1.3 .

See also Linker script setup, ImageFiles.MCU.resourceCachePolicy, ImageFiles.MCU.resourceRuntimeAllocationType, Qt Quick Ultralite image caching, ImageFiles.MCU.resourceCompression, and QUL_RESOURCE_STORAGE_SECTION.

Available under certain Qt licenses.
Find out more.