C

MCU.Module.uri

Defines a URI for the module.

Description

This property defines the URI of the module. When other projects that already link to this module via the ModuleFiles node want to make use of the Qml Components defined within the module, they can do so by importing the module in their own QML sources, through the import statement.

Usage

This property is accepted in any context where its parent node is accepted. It takes a string.

Code example:

MCU.Module {
    uri: "mymodule"
}

Since

This property was introduced in QmlProject API 1.3 .

Available under certain Qt licenses.
Find out more.