Stores image assets in compressed format to enable faster access. This property is a QmlProject flag. By default it is set to false.


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.


ImageFiles {
    MCU.resourceCompression: true


This property was introduced in QmlProject API 1.3 .

See also QUL_RESOURCE_COMPRESSION and MCU.Config.resourceCompression.

Available under certain Qt licenses.
Find out more.