简体   繁体   English

Qt Creator 3.3.0中的“Create AndroidManifest.xml”按钮在哪里?

[英]Where did the “Create AndroidManifest.xml” button go in Qt Creator 3.3.0?

There used to be a "Create AndroidManifest.xml" button in Projects->Run->Deploy: 在Projects-> Run-> Deploy中曾经有一个“Create AndroidManifest.xml”按钮:

在此输入图像描述

But now as of QtCreator 3.3.0 with Qt 5.4.0, it's nowhere to be found: 但是现在从QtCreator 3.3.0到Qt 5.4.0,它无处可寻:

在此输入图像描述

How do I specify an AndroidManifest.xml now that the button is gone? 现在按钮消失了,如何指定AndroidManifest.xml?

You now do it from Projects -> Build -> Build Android APK -> Create Templates. 您现在可以从项目 - >构建 - >构建Android APK - >创建模板。

From the documentation : 文档

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. 您可以使用qmake变量指定androiddeployqt工具所需的所有设置,并且在要在应用商店中发布包之前,不需要Android清单文件。 To specify additional settings for APK packages, you can create an Android manifest file and edit it in Qt Creator. 要为APK包指定其他设置,您可以创建Android清单文件并在Qt Creator中对其进行编辑。 Select Create Templates to create the file and to open it in the Android Manifest Editor. 选择“创建模板”以创建文件并在Android Manifest Editor中打开它。

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM