C

--platform

An optional identifier of the targeted platform.

Description

This is an optional command-line option. The code generated by qmlprojectexporter might be slightly different, depending on the targeted platform.

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

The platform name can be "qt" for desktop, but you can target other platforms using the following format:

<boardname>-<os>

Where, os could be either baremetal or freertos.

Example value for desktop: --platform=qt Example value for TRAVEO™ T2G CYT3DL board running baremetal: --platform=tviic2d4m-baremetal

Usage

qmlprojectexporter --platform tviic2d4m-baremetal --outdir output-dir my_project.qmlproject

Since

This option was introduced in QmlProject API 1.3 .

See also --toolchain.

Available under certain Qt licenses.
Find out more.