更新时间:2023-11-13 11:46:40
首先你应该选择Tools > Options > Android来添加Android NDK和SDK的路径:
First you should select Tools > Options > Android to add paths to the Android NDK and SDK :
同时选择自动为 Android 工具链创建工具包选项.
要配置部署设置,您应该转到 Projects > Build Android APK > Details 从 Qt 5.4 和 QtCreator 3.3.0 开始.要创建 APK 包,请选择 Bundle Qt library in APK 选项:
For configuring deployment settings you should go to Projects > Build Android APK > Details Since Qt 5.4 along with QtCreator 3.3.0. To create an APK package, select the Bundle Qt libraries in APK option :
您还可以选择创建模板来创建清单文件以设置应用程序设置,例如图标、名称、...
You can also select Create Templates to create the manifest file to set application settings like icon, name, ...
在以前版本的 Qt 和 Qt Creator 中,您应该转到 Projects->Run->Deploy.
In previous versions of Qt and Qt Creator you should go to Projects->Run->Deploy.
我建议您使用最新版本的 Qt 和 Qt Creator 进行 Android 开发和部署.
I recommend you to use the latest version of Qt and Qt Creator for Android development and deployment.