Qt for Android provides a complete solution to develop, build, and package your applications for Android. Most of these tasks, especially packaging and deployment are handled by Qt Creator providing rich developer experience.
Every time you run the application using Qt Creator, an Android Application Package (APK) is created and deployed onto the target (device or emulator) you choose. With some minor changes to how the .apk is created, you can publish your application on Google Play and monetize. The following step-by-step instructions guide you to create an .apk that can go live on Google Play:
注意: You can edit the AndroidManifest.xml in 一般 or XML Source 模式。
注意: Qt Quick Controls with native Android style require API 11 (Android v3.0) or later.
注意:
Qt adds the default permissions and features based on the module dependencies of your application. If you do not want these default permissions and features, remove the
<!-- %%INSERT_PERMISSIONS -->
and
<!-- %%INSERT_FEATURES -->
comments from
AndroidManifest.xml
. For information on the manifest XML format, see
Android: App Manifest
.
Now your application is available to other Android device users via Google Play. You can also choose to publish the application to a smaller group, so that you can test and improve the application before publishing it to a larger audience.
见 在 Android 部署应用程序 for more information about how the packaging is done and how you can influence it.