C

QmlFiles.copyQmlFiles

This option enables copying the QML files into the output directory.

Description

This is an optional flag, which is set to false by default. However, if the qmlproject is a module (having the MCU.Module node defined), the flag is set to true. In other words, QML files are always copied when exporting modules.

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:

QmlFiles {
    copyQmlFiles: false
}

Since

This property was introduced in QmlProject API 1.3 .

Available under certain Qt licenses.
Find out more.