Qt >= 5.14:如何在 QtCreator 中禁用 AAB 创建(仅生成 armv7)

Qt >= 5.14: How to disable AAB creation in QtCreator (generate only armv7)

有没有办法在 QtCreator 中将参数传递给 androiddeployqt?我只想生成 armv7 APK 文件。 --aab 命令行参数可以达到上述目的 here 但我不知道如何通过 QtCreator 传递参数。

需要 QtCreator 4.11 或更新版本。还建议删除与 .pro 文件位于同一文件夹(通常是应用程序的根文件夹)中的 .pro.user 文件。 在 Projects 面板中,新的 QtCreator 可以在 Advanced Actions 部分下 enable/disable .aab 创建

另一个重要的配置是 Build Steps -> qmake 下的 ABI 选择(点击 Details)。这将为您节省相当多的编译时间。