In addition to generating source files based on a QmlProject, qmlprojectexporter can export platform sources for a given platform. The --no-export-qml argment tells qmlprojectexporter to skip processing the QmlProject. If used together with --project-type other than "none", qmlprojectexporter copies the required platform files into an empty project.


qmlprojectexporter --platform rh850-d1m1a-baremetal --toolchain ghs --project-type ghs --no-export-qml -output output-dir


This option was introduced in Qt for MCUs 2.5.

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

Available under certain Qt licenses.
Find out more.