Note: This CMake API is deprecated. Use the
BoardDefaults.qmlprojectconfig files instead. See QmlProject Manual.
Define the asset storage section.
The user can define in which memory section the asset should be placed.
Note: the memory section has to appear in the linker script. See Linker script setup for more information.
If not set, the default value is
Source file properties must be set before adding files to the application using the
# Setting an image to be cached on demand with a custom memory allocator set_source_files_properties( big/button.png PROPERTIES QUL_RESOURCE_CACHE_POLICY "OnDemand" QUL_RESOURCE_STORAGE_SECTION "CustomSegment" QUL_RESOURCE_RUNTIME_ALLOCATION_TYPE "128" )
This property was introduced in Qt Quick Ultralite 2.0.
Available under certain Qt licenses.
Find out more.