Chapter 7. Parsing JSON and XML Documents to Use Online APIs

In this chapter, you'll find the powerful application, Qt, running on the popular Android devices. Following the introduction of Qt application development for Android, it also utilizes online APIs, which usually return JSON or XML documents. The topics that are covered in this chapter are as follows:

  • Setting up Qt for Android
  • Parsing JSON results
  • Parsing XML results
  • Building Qt applications for Android
  • Parsing JSON in QML

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 ...

Get Qt 5 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.