C

Project.importPaths

A list of paths containing .qmlproject files for modules required by the project.

Description

This property is an alternative to the ModuleFiles node for importing modules into a project.

The specified paths are searched for .qmlproject files describing a valid module, which are added to the project.

Note: Only .qmlproject files containing an MCU.Module node are included, all other contents are ignored.

Usage

Project {
    importPaths: ["modules"]
}

Since

This property was introduced in QmlProject API 1.3 .

See also ModuleFiles.

Available under certain Qt licenses.
Find out more.