Installing Qt Tools for Android Studio
This video and the following sections cover installing the plugin, importing a Qt for Android example project, and building and running the project on a target device.
Installing dependencies
The dependencies are Android Studio and the Qt Gradle Plugin.
Installing Android Studio and the plugin
This plugin is installed like any other IntelliJ plugin: using the Plugins panel or manually downloading the plugin. The plugin automatically installs the LSP4IJ plugin.
Here's how you can manually download and install the Qt Tools for Android Studio plugin.
- Download and install a compatible version of Android Studio.
- Go to the Qt Tools for Android Studio on Jetbrains Marketplace page page to download the plugin's JAR file.
- Start Android Studio.
- On top-right corner select Settings(gear-icon)->Install Plugins From Disk.
- Select file and select OK.
- Check that the plugin is installed.
Configuring the Qt Tools for Android Studio plugin
Follow the configuration instructions in the Qt Gradle Plugin documentation. Take note of your Qt install path, as you will need it when configuring your QML for Android projects in Android Studio.
Running the example
Test your development setup by running the examples shipped with the Qt installation. You'll need to know your Qt folder path first. When using the Qt Online Installer, the default install locations for the Qt folder are:
- Windows: C:/Qt
- macOS: ~/Qt
- Linux: ~/Qt
The example projects are located under your Qt installation directory in Qt/Examples/<qt version>/platforms/android/
. To test the examples:
- From Android Studio's welcome screen, select Open.
- Select the Qt project example you want.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.