C

--boarddefaults

Path to the BoardDefaults.qmlprojectconfig file with default property values for a board

Description

If you want to define default properties for a certain board, you can define them in a BoardDefaults.qmlprojectconfig file containing an MCU.Config node. You can specify the path to this file with the --boarddefaults command-line option.

Additionally, you can use the --generate-default-values option to print the list of resolved default values to the output directory.

Short option: -D

Usage

qmlprojectexporter --boarddefaults defaults.qmlprojectconfig --outdir output-dir my_project.qmlproject

Since

This option was introduced in QmlProject API 1.3 .

See also MCU.Config, --outdir, and --generate-default-values.

Available under certain Qt licenses.
Find out more.