Project Structure

In this chapter, we will create a new multiproject solution that will be the foundation of our example application. We will apply a Model View Controller pattern, separating the user interface and business logic. We will also introduce Qt’s unit testing framework—QtTest—and demonstrate how to integrate it into our solution. We will cover these things in this chapter: 

  • Projects, MVC, and unit testing
  • Creating a library project
  • Creating a unit tests project
  • Creating a user interface project
  • Mastering MVC
  • The QObject base class
  • QML
  • Controlling project output

Get Learn Qt 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.