In addition to generating source files from a QmlProject,
qmlprojectexporter can also generate project files for a 3rd party IDE or build system. It can also export the platform sources together with the source files generated from the QmlProject.
--project-type command-line argument to choose one of the following types:
Note: Currently, only the
"ghs" project type supports adding generated source files to the project.
When generating a project using this argument,
qmlprojectexporter must know which platform and toolchain to target. You could provide this information either using the --platform and --toolchain arguments, or the --platform-metadata argument with a platform metadata file describing a platform port.
You can also generate a project with platform sources only by using the --skip-qml-generation command-line argument.
qmlprojectexporter --platform rh850-d1m1a-baremetal --toolchain ghs --project-type ghs --outdir output-dir my_project.qmlproject
This option was introduced in Qt for MCUs 2.5.
Available under certain Qt licenses.
Find out more.