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


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


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


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.