C

Qt Quick Ultralite imagedecoder Example

import QmlProject 1.3

Project {
    mainFile: "rootqml/imagedecoder.qml"

    MCU.Config {
        maxResourceCacheSize: 2000000
    }

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