Book Image

Qt5 C++ GUI Programming Cookbook

By : Lee Zhi Eng
Book Image

Qt5 C++ GUI Programming Cookbook

By: Lee Zhi Eng

Overview of this book

With the advancement of computer technology, the software market is exploding with tons of software choices for the user, making their expectations higher in terms of functionality and the look and feel of the application. Therefore, improving the visual quality of your application is vital in order to overcome the market competition and stand out from the crowd. This book will teach you how to develop functional and appealing software using Qt5 through multiple projects that are interesting and fun. This book covers a variety of topics such as look-and-feel customization, GUI animation, graphics rendering, implementing Google Maps, and more. You will learn tons of useful information, and enjoy the process of working on the creative projects provided in this book
Table of Contents (16 chapters)
Qt5 C++ GUI Programming Cookbook
About the Author
About the Reviewer

Setting up Qt for mobile applications

In this example, we will learn how to set up our Qt project in Qt Quick and enable it to be build and exported to mobile devices.

How to do it…

  1. First of all, let's create a new project by going to File | New File or New Project. Then, a window will pop up for you to choose a project template. Select Qt Quick Application and click the Choose button:

  2. After that, insert the project name and select the project location. Click the Next button and it will ask you to select the minimum Qt version required for your project. Please make sure that you select a version that exists on your computer, otherwise you won't be able to run it properly. Once you have done that, proceed by clicking the Next button.

  3. Then, Qt Creator will ask you which kit you want to use for your project. These "kits" are basically different compilers that you can use to compile your project for different platforms. Since we're doing an application for a mobile platform, we will enable the Android...