[英]Change ID App in Qt
Well.. I have a big problem my app id is "org.qtproject.example.test". 好吧..我有一个大问题,我的应用程序ID是“ org.qtproject.example.test”。 I want to change to "com.mycompany.myapp".
我想更改为“ com.mycompany.myapp”。 I was looking at the whole project and there is no way to change it.
我正在查看整个项目,无法更改它。 How do you do that?
你是怎样做的?
Open the AndroidManifest.xml
file of your project in Creator and it's the first setting in the manifest editor form. 在Creator中打开项目的
AndroidManifest.xml
文件,这是清单编辑器表单中的第一个设置。
Also, from QGuiApplication
see the setOrganizationName()
, setOrganizationDomain()
and setApplicationName()
functions. 另外,从
QGuiApplication
看到setOrganizationName()
, setOrganizationDomain()
和setApplicationName()
函数。
change the package name in the Android manifest file. 在Android清单文件中更改包名称。
manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.mycompany.myapp" android:versionCode="1" android:versionName="1.0.0" 清单xmlns:android =“ http://schemas.android.com/apk/res/android” xmlns:tools =“ http://schemas.android.com/tools” package =“ com.mycompany.myapp” android: versionCode =“ 1” android:versionName =“ 1.0.0”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.