C

ImageFiles.MCU.resourceKeepRawData

Description

Specifies a file to be included unchanged in the asset system. When enabled, the image data is included into the assets.

Usage

This property is accepted in the main application .qmlproject file, or a module .qmlproject file. It takes a boolean value.

Code example:

ImageFiles {
    files: [
        "grand-canyon-arizona.jpg",
        "sequoia-national-park.jpg"
    ]
    MCU.resourceKeepRawData: true
}

Since

This property was introduced in QmlProject API 2.7.

See also Managing Resources.

Available under certain Qt licenses.
Find out more.