C

ImageFiles.directory

Description

The directory property adds a directory containing the image assets. If the image assets are spread across different directories, each directory needs to be provided in a separate ImageFiles node.

Note: The directory property can be combined with the files property in a ImageFiles node. This property might be removed from future releases. Prefer explicit inclusion of files using the files property.

Warning: Images placed in subdirectories are not included.

Usage

ImageFiles {
    directory: "Images/extra"
}

Since

This property was introduced in QmlProject API 1.3 .

See also ImageFiles.files.

Available under certain Qt licenses.
Find out more.