End to End GUI Development with Qt5
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, we took our project creation skills up to the next level, and our solution is now starting to take shape. We implemented an MVC pattern and bridged the gap between our UI and business logic projects. We dabbled with our first bit of QML and took a look at the cornerstone of the Qt framework, QObject.

We removed all those unsightly build-cm… folders, flexed our qmake muscles, and took control of where all of our files go. All binaries are now placed in the cm/binaries folder, organized by platform, compiler, processor architecture, and build configuration. All temporary build artifacts that aren’t required by the end user are now hidden away. We can freely switch kits and build configurations, and have our output automatically rerouted to the correct location.

In Chapter 3, User Interface, we will design our UI and get stuck in some more QML.