C
ResourceStorageSection.majorVersion
Sets the major version for a resource storage section.
Description
Sets the major version for a resource storage section, which is checked when Qul::initResources() gets called. See Versioning of resource data for more information.
The value has to be in the range 0 to 65535.
Usage
This property is accepted in any context where its parent node is accepted. It takes an integer.
Code example:
MCU.Config { ResourceStorageSection { name: "ResourceDataInExternalFlash" majorVersion: 2 minorVersion: 1 } }
Since
This property was introduced in Qt for MCUs 2.10.0.
See also ResourceStorageSection.minorVersion, ResourceStorageSection.name, and Versioning of resource data.
Available under certain Qt licenses.
Find out more.