Specify the toolchain used for compiling the generated files.


This command-line option is optional. The code generated by the qmlprojectexporter might be slightly different, depending on the toolchain that will compile it afterward.

If the toolchain is not recognized, the tool will ignore it.

Currently recognized toolchain identifiers are gnu, iar, ghs, msvc.

This option is case-insensitive.


qmlprojectexporter --toolchain gnu --outdir output-dir my_project.qmlproject


This option was introduced in QmlProject API 1.3 .

See also --platform.

Available under certain Qt licenses.
Find out more.