O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we completed the necessary steps to add a few essential usecases, create a Qt Quick-based UI client, and deploy it to various operating systems and device types. Our app shows a nice multi-layer organization where entities, usecases, data interfaces (repositories), and the UI are clearly separated and communicate in a predictable manner. This approach provides us with a solid base to create applications of increasing complexity without losing control.

There are still a few things that a real-world app would require: among these, data persistence. In fact, in the current version of What's in my fridge?, data is just stored in memory and is thus erased on every app launch. However, you could use the blueprint of GroceryItemsRepo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required