O'Reilly logo

Qt 5 Blueprints by Symeon Huang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building Qt applications for Android

You may wonder how to build Qt applications for Android devices since this application is built for desktop PCs. Well, it's much easier than you thought.

  1. Switch to Projects mode.
  2. Click on Add Kit and select Android for armeabit-v7a (GCC 4.9 and Qt 5.3.2). Note that the text may differ a little bit.
  3. Plug in your phone if you're using it as the target Android device.
  4. Open Command Prompt and run adb devices. Make sure your device is on the list.

Now, click on Run and Qt will prompt a dialog asking you to select the Android device, as shown in the following screenshot:

Building Qt applications for Android

We choose to run our application on an actual Android ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required