In addition to generating source files based on a QmlProject, qmlprojectexporter can export platform sources for a given platform. The --skip-qml-generation 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 --skip-qml-generation -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.