Let's get started by following these steps:
- Create a new Qt Quick application – Empty project and open up qml.qrc with Qt Creator. Add six images, home.png, map.png, profile.png, search.png, settings.png, and arrow.png to the project as follows:
- After that, create and open MainForm.ui.qml as we did in all previous examples. Drag a List View widget from under the Qt Quick – Views category in the Library window onto the canvas. Then, set its Anchors setting to fill the parent size by clicking on the button located in the middle of the Layout window as shown in the following screenshot:
- Next, switch over to the script editor, ...