Enable optimizations for scaling the image at runtime.


This property is set to false by default.

This property can be used to either enable or disable platform-specific optimizations for scaling an image at runtime. It can be either true or false. It is set to false by default.


ImageFiles {
    MCU.resourceOptimizeForScale: true

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

MCU.Config {
    resourceOptimizeForScale: true


This property was introduced in QmlProject API 1.3 .

See also Image optimizations and QUL_RESOURCE_OPTIMIZE_FOR_SCALE.

Available under certain Qt licenses.
Find out more.