Where did the “Create AndroidManifest.xml” button go in Qt Creator 3.3.0?
In Qt Creator 3.3.0, the “Create AndroidManifest.xml” button has been removed from the user interface. This change was made to simplify the Android development process and to make it more consistent with the Qt Quick Compiler.
What happened to the “Create AndroidManifest.xml” button?
The button has been removed to streamline the Android development process. Now, the manifest file is automatically created when you first build your project for Android. This simplifies the development process and eliminates the need for manual intervention.
Changes in the Development Process
- Automatic Manifest Generation: Qt Creator now automatically generates the AndroidManifest.xml file when you build your project for the first time. This eliminates the need for a separate button.
- Qt Quick Compiler Integration: The manifest generation is now tightly integrated with the Qt Quick Compiler, ensuring consistency and efficiency.
- Simplified User Experience: The removal of the “Create AndroidManifest.xml” button streamlines the development workflow and provides a more intuitive experience.
How to Create an AndroidManifest.xml file in Qt Creator 3.3.0
You don’t have to manually create the AndroidManifest.xml file. Qt Creator automatically handles this for you. When you build your project for the first time, the manifest file will be generated in the root directory of your project.
Example: Building a Simple Android Application
1. Create a Qt Quick Application
Open Qt Creator and create a new Qt Quick application.
2. Set Up the Build Configuration
In the Projects pane, select your project. Choose “Android” as the target kit. You can change the build configuration in the “Build & Run” settings.
3. Build the Application
Click the build button to start building the application. If this is your first build, Qt Creator will automatically generate the AndroidManifest.xml file in the root directory of your project.
4. View the Manifest File
You can view the automatically generated AndroidManifest.xml file in the project tree in Qt Creator. It will be located in the project’s root directory.
Example Code
Conclusion
The “Create AndroidManifest.xml” button is no longer present in Qt Creator 3.3.0. Instead, the AndroidManifest.xml file is automatically generated when you build your project for Android. This change simplifies the development process and enhances the integration with the Qt Quick Compiler.