C

InterfaceFiles.MCU.qmlImports

Description

This property can be used to list the QML modules to be imported into the project. This enables the C++ interfaces to refer to the components offered by the imported QML modules. In addition, each QML module import URI in the list is added to the imports section of the generated QML file.

Usage

InterfaceFiles {
    MCU.qmlImports: ["Personal.Constants", "Personal.Util"]
}

Since

This property was introduced in QmlProject API 1.3 .

Available under certain Qt licenses.
Find out more.