- Qt 6.9
- Registering Products in Google Play
- Qt 6.9.0 Reference Documentation

# Registering Products in Google Play

The Google Play market place allows you to register your application, as well as the in-app products you want to make available to it, without publishing it. The following this guide gives a brief introduction on uploading your application to Google Play and registering products.

## Preparing your application for submission

Before you can upload your application to Google Play, you must prepare it for submission.

### Adding a Manifest XML

The default `AndroidManifest.xml` generated for applications by Qt is suitable for development testing, but cannot be used when submitting the application to Google Play.

Create your own manifest by clicking the Create Templates button in Qt Creator. You can find the button under Projects > Build tab. Expand Build Android APK to see it.

Once the manifest is added to your project, you can modify it. The most important parts are the `application name` and the `package name`. The package name must be unique, and it is recommended to follow the com.mycompany.myappname naming convention. The "com.mycompany" namespace is based on the internet domain ownership to avoid naming collisions with other applications.

Other important parts of the manifest include the `versionCode`, which must be incremented every time you upload a new version of the application. Other properties will decide how your application package is presented in the store listing, such as the `application name` and the `version name`.

For more information on the `AndroidManifest.xml`, see the Android documentation.

For more information, refer to the Third-party Android Libraries.

### Signing the application

Qt uses the default debug key to sign your application to enable running the application on a device. Same key cannot be used to sign the Android Application Bundles that is meant to be published on Google Play.

See Signing Android Packages

## Registering your application

Once the application is prepared for publishing, you can create a listing for it in Google Play.

The first step is to get a publisher account, if you do not already have one. Go to the Google Play developer console, log in with the Google account of your choice, and follow the steps as directed.

When you have set up your account, click on Add new application in Google Play's developer console.

Fill out as much information as you want in the store listing, and also the Pricing and distribution page.

### Publishing your application

In order to test in-app purchases in your application, you first have to publish it.

See Publish your app

### Adding in-app products

In order to access in-app products from your application, you must register them in Google Play.

See Create and configure your products