C

Qt Quick Ultralite图像解码示例

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
    }
}