C
–project-outdir
IDE 项目文件的输出目录。
说明
指定生成 IDE 项目文件的输出位置。生成的项目文件的默认位置为<outdir>/<ProjectType> (例如<outdir>/GHS )。
此命令行参数将覆盖默认位置。
注意: 如果--project-type的值为none ,则此 参数无效。
用法
// This will place IDE project files in "{CurrentWorkingDirectory}/custom"
// and use the default location relative to "{CurrentWorkingDirectory}/output-dir"
// for other parts of the project
qmlprojectexporter --project-type ghs --outdir output-dir --project-outdir custom --platform rh850-d1m1a-baremetal --toolchain ghs my_project.qmlproject自
该选项自Qt for MCUs 2.5 版本起引入。
另请参阅 qmlprojectexporter、导出包含平台源代码的Qt for MCUs 项目 以及--outdir。
在某些 Qt 许可下提供。
了解更多。