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