本页内容

C

–platform-outdir

导出平台源代码的输出目录。

说明

指定导出平台源代码的目标目录。

qmlprojectexporter 默认将平台源代码导出到<outdir>/QtMCUs/platform 子目录中。

此命令行参数将覆盖默认位置。

注意: 如果--project-type为none ,则此 参数无效。

用法

// This will export the platform sources to "{CurrentWorkingDirectory}/custom"
// and other project files to "{CurrentWorkingDirectory}/output-dir"
qmlprojectexporter --project-type ghs --outdir output-dir --platform-outdir custom --platform rh850-d1m1a-baremetal --toolchain ghs my_project.qmlproject

自

此选项自Qt for MCUs 2.5 起引入。

另请参阅 qmlprojectexporter、导出包含平台源代码的Qt for MCUs 项目 以及--outdir。

在某些 Qt 许可下提供。
了解更多。