Let's follow these steps to get started:
- First of all, create a new Qt Quick application project, just like we did in the previous recipe.
- You will see a QML file in your project resources—main.qml. This is where we implement the logic for our application, but we will also need another QML file where we define our user interface.
- Let's create the QML UI file by going to File | New File or Project, then select QtQuick UI File under Qt category as shown in the following screenshot:
- Let's call the Component name Main and Component form name MainForm as follows: ...