C

MCU.Module.generateQmltypes

Generates a type information file for the module.

Description

This property can be used to either enable or disable generating a type information file (plugin.qmltypes), describing the types and interfaces provided by the module. It is set to false by default. The type information is used by tools such as the Qt Creator IDE. See the QML modules page for more information.

Usage

This property is accepted in any context where its parent node is accepted. It takes a boolean value, and the default value is false.

Code example:

MCU.Module {
    generateQmltypes: true
}

Since

This property was introduced in QmlProject API 1.3 .

Available under certain Qt licenses.
Find out more.