C
ImageFiles.MCU.resourceOptimizeForScale
Enable optimizations for scaling the image at runtime.
Description
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.
Usage
This property is accepted in any context where its parent node is accepted. It takes a boolean value.
Code example:
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
}Since
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.