Book Image

QT5 Blueprints

By : Symeon Huang
Book Image

QT5 Blueprints

By: Symeon Huang

Overview of this book

Table of Contents (17 chapters)
Qt 5 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up Qt for Android


Qt for Android requires at least an API level 10 (for Android 2.3.3 platforms). Most Qt modules are supported, which means your Qt application can be deployed on Android with little or no modification. For development, both Qt Widget-based applications and Qt Quick applications in Qt Creator are supported on Android. However, setting up Qt for Android on a Windows PC is not very straightforward. Therefore, before we venture deeper into anything, let's set up the development environment for Qt on Android.

First, you need to install Qt for Android. If you're using an online installer, remember to select the Android components, as shown in the following screenshot:

Here, we only chose Android armv7, which enables us to deploy applications for ARMv7 Android devices. If you're using an offline installer, download Qt for the Android installer.

Now, let's install a Java Development Kit (JDK). There is no way to get rid of Java, since Android heavily depends on it. Also, note...