如何改变Qt的Andr​​oid应用程序的默认应用程序图像 [英] how to change the default application image of the qt android app

查看:230
本文介绍了如何改变Qt的Andr​​oid应用程序的默认应用程序图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用QT /设为Qml C ++一个Android应用程序,我可以在Android设备上运行。
我想改变我的项目的默认应用程序图像。我没有得到一个办法做到这一点。请帮助。

I made an android app using QT/Qml c++ and i can run it on the android device. I wanted to change the default application image of my project. I am not getting a way to do it. Please help.

推荐答案

您应该创建一个Android清单文件和Qt Creator中编辑。转到项目>构建Android APK>详细信息

You should create an Android manifest file and edit it in Qt Creator. Go to Projects > Build Android APK > Details

现在选择创建模板以创建清单文件,并在编辑器中打开它:

Now Select Create Templates to create the manifest file and to open it in editor :

正如图所示,你可以设置图标三个版本为低,中您的应用程序和高DPI值,由左到右。

As shown in the picture, you can set three versions of icons for your application with low, medium, and high DPI values, from left to right.

这个新作出的Andr​​oid清单文件的方法是可用,因为Qt的5.4沿Qt Creator的3.3。曾经有一个创建的Andr​​oidManifest.xml 在按钮的项目 - >运行 - >部署在previous版本。

This new way of making an android manifest file is available since Qt 5.4 along Qt Creator 3.3. There used to be a Create AndroidManifest.xml button in Projects->Run->Deploy in previous versions.

这篇关于如何改变Qt的Andr​​oid应用程序的默认应用程序图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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