When extending a project with --extend-project, or generating a new project from scratch, the project will also include exported platform sources. Use this flag to prevent adding platform sources when extending or generating a project with the Qt for MCUs sources.

To update the Qt for MCUs UI parts of an existing project, use --update-project.


qmlprojectexporter --outdir output-dir my_project.qmlproject --project-type ghs --platform rh850-d1m1a-baremetal --toolchain ghs --no-export-platform


This option was introduced in Qt for MCUs 2.6.

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

Available under certain Qt licenses.
Find out more.