Chapter 5. Building a Touch Screen Application with Qt5

In this chapter, we will cover the following recipes:

  • Setting up Qt for mobile applications
  • Designing a basic user interface with QML
  • Touch events
  • Animation in QML
  • Displaying information using model views
  • Integrating QML and C++

Introduction

Qt is not only a cross-platform software development kit for PC platforms, it also supports mobile platforms such as iOS and Android. The developers of Qt introduced Qt Quick back in 2010, which provides an easy way to build custom user interfaces that are highly dynamic, where users can easily create fluid transitions and effects with only minimal coding. Qt Quick uses a declarative scripting language called QML, which is similar to the JavaScript language used in web development. Advanced users can also create custom functions in C++ and port them over to Qt Quick to enhance its functionality. At the moment, Qt Quick supports multiple platforms such as Windows, Linux, Mac, iOS, and Android.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.53.93