C

MCU.Config.resourceCompression

Description

Use this property to either enable or disable the resource compresion. It can be set to true, false, "ON", "OFF", "YES", "NO", 1, or 0. The resource compression is set to "OFF" by default.

If the resource compression is enabled, the image assets are stored in compressed format and decompressed into the cache when needed. This reduces the size of the binary but adds decompression overhead.

Usage

MCU.Config {
    resourceCompression: "YES"
}

Since

This property was introduced in QmlProject API 1.3 .

See also QUL_RESOURCE_COMPRESSION and ImageFiles.MCU.resourceCompression.

Available under certain Qt licenses.
Find out more.