Summary
In this chapter, we made our application even more testable by introducing our first object factory. They are a really useful layer of abstraction that make unit testing so much easier, and on larger projects, it's common to end up with several factories. We then made our UI even more dynamic by having Style properties that can scale along with the Window. EnumeratorDecorators got some love and an editor component of their own, fully finger-friendly to boot. We then put that editor to use and implemented Contact management, showing how collections of objects can easily be viewed and edited.
With our application more fleshed out, we then took a look at how to get our shiny new work of genius into the hands of our end users. Different operating systems each have their own take on things, and you will undoubtedly discover quirks and encounter challenges in your own particular environment, but hopefully, you now have the tools you need to be able to work through them.
That sentiment goes not just for deployment, but for the whole project life cycle. The goal of this book was not to discuss theoretical problems that while interesting, will never come up in your day-to-day role as a developer. The goal was to present solutions to real-world problems. We have developed a functional Line of Business application from start to finish, working through common tasks that you will encounter on a daily basis, whether working on an initiative at work or on a personal project at home.
I hope that some of the approaches detailed in this book prove useful to you and that you go on to enjoy working with Qt as much as I do.