“创建 AndroidManifest.xml"在哪里?按钮进入 Qt Creator 3.3.0? [英] Where did the "Create AndroidManifest.xml" button go in Qt Creator 3.3.0?

查看:37
本文介绍了“创建 AndroidManifest.xml"在哪里?按钮进入 Qt Creator 3.3.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以前在项目->运行->部署中有一个创建AndroidManifest.xml"按钮:

There used to be a "Create AndroidManifest.xml" button in Projects->Run->Deploy:

但是现在从 QtCreator 3.3.0 和 Qt 5.4.0 开始,它无处可寻:

But now as of QtCreator 3.3.0 with Qt 5.4.0, it's nowhere to be found:

既然按钮不见了,我该如何指定 AndroidManifest.xml?

How do I specify an AndroidManifest.xml now that the button is gone?

推荐答案

您现在可以从项目 -> 构建 -> 构建 Android APK -> 创建模板.

You now do it from Projects -> Build -> Build Android APK -> Create Templates.

来自文档:

您可以使用 qmake 变量来指定 androiddeployqt 工具所需的所有设置,并且在您想在应用程序商店中发布包之前不需要 Android 清单文件.要为 APK 包指定其他设置,您可以创建一个 Android 清单文件并在 Qt Creator 中对其进行编辑.选择创建模板以创建文件并在 Android 清单编辑器中打开它.

You can use the qmake variables to specify all the settings you need for the androiddeployqt tool and you do not need an Android manifest file until you want to publish the package in an application store. To specify additional settings for APK packages, you can create an Android manifest file and edit it in Qt Creator. Select Create Templates to create the file and to open it in the Android Manifest Editor.

这篇关于“创建 AndroidManifest.xml"在哪里?按钮进入 Qt Creator 3.3.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆