Structure of a Qt Quick Application

In this section, we are going to learn about the structure of a Qt Quick Application project. Similar to Qt Widgets Application projects, most of the files required for a Qt Quick Application project are created automatically when you create a new project using Qt Creator, so you don't really need to memorize all of what is needed as a minimum, but still it is important to understand some of the basic concepts of how a Qt Quick Application is handled in order to be able to further extend it, or, as we'll learn in a later section of this chapter, to integrate and use C++ codes inside a QML file.

Let's go through this by creating an example application. Start by opening Qt Creator and pressing the New Project ...

Get Computer Vision with OpenCV 3 and Qt5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.