C

--qmlproject-outdir

The output directory for generated files.

Description

Specify where to output the files generated by qmlprojectexporter. When the --project-type is not "none", the generated files are placed in <outdir>/QtMCUs/generated by default.

This command-line argument overrides the default location.

Note: This argument has no effect if the --project-type is none.

Usage

// This will export the generated sources to "{CurrentWorkingDirectory}/custom"
// and other project files to "{CurrentWorkingDirectory}/output-dir"
qmlprojectexporter --project-type ghs --outdir output-dir --qmlproject-outdir custom --platform rh850-d1m1a-baremetal --toolchain ghs my_project.qmlproject

Since

This option was introduced in Qt for MCUs 2.5.

See also qmlprojectexporter, Exporting a Qt for MCUs project with platform sources, and --outdir.

Available under certain Qt licenses.
Find out more.