C

--platform-outdir

The output directory for exported platform sources.

Description

Specify the target directory for exported platform sources.

qmlprojectexporter exports the platform sources to the <outdir>/QtMCUs/platform subdirectory 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 platform sources to "{CurrentWorkingDirectory}/custom"
// and other project files to "{CurrentWorkingDirectory}/output-dir"
qmlprojectexporter --project-type ghs --outdir output-dir --platform-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.