qmlprojectexporter can extend an existing project with Qt for MCUs. This includes platform sources as well as sources and assets from a .qmlproject.

Note: You can extend "ghs" projects only.

This argument takes a project file as an argument. The type of file depends on the project type. For detailed instructions and prerequisites, refer to Extend an existing project.

Unless specifically overridden, the output directory structure is determined from the base directory of the main project.


qmlprojectexporter my_project.qmlproject --extend-project /path/to/project.gpj --platform rh850-d1m1a-baremetal --toolchain ghs --project-type ghs


This option was introduced in Qt for MCUs 2.6.

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

Available under certain Qt licenses.
Find out more.