C
–qmlproject-outdir
生成的文件的输出目录。
说明
指定由qmlprojectexporter 生成的文件的输出位置。当--project-type不是 "none" 时,生成的文件默认保存在<outdir>/QtMCUs/generated 中。
此命令行参数将覆盖默认位置。
注意: 如果--project-type为none ,则此 参数无效。
用法
// This will export the generated sources to "{CurrentWorkingDirectory}/custom"
// and other project files to "{CurrentWorkingDirectory}/output-dir"
qmlprojectexporter --project-type ghs --outdir output-dir --qmlproject-outdir custom --platform rh850-d1m1a-baremetal --toolchain ghs my_project.qmlproject自
此选项自Qt for MCUs 2.5 起引入。
另请参阅 qmlprojectexporter、导出包含平台源代码的Qt for MCUs 项目 以及--outdir。
在某些 Qt 许可下可用。
了解更多信息。