Book Image

Hands-On Embedded Programming with QT

By : John Werner
Book Image

Hands-On Embedded Programming with QT

By: John Werner

Overview of this book

Qt is an open source toolkit suitable for cross-platform and embedded application development. This book uses inductive teaching to help you learn how to create applications for embedded and Internet of Things (IoT) devices with Qt 5. You’ll start by learning to develop your very first application with Qt. Next, you’ll build on the first application by understanding new concepts through hands-on projects and written text. Each project will introduce new features that will help you transform your basic first project into a connected IoT application running on embedded hardware. In addition to gaining practical experience in developing an embedded Qt project, you will also gain valuable insights into best practices for Qt development and explore advanced techniques for testing, debugging, and monitoring the performance of Qt applications. The examples and projects covered throughout the book can be run both locally and on an embedded platform. By the end of this book, you will have the skills you need to use Qt 5 to confidently develop modern embedded applications.
Table of Contents (22 chapters)
Free Chapter
Section 1: Getting Started with Embedded Qt
Section 2: Working with Embedded Qt
Section 3: Deep Dive into Embedded Qt
Section 4: Advanced Techniques and Best Practices
Appendix A: BigProject Requirements


  1. Name two different database backends that Qt supports out of the box on most systems.
  2. What advantage does QSqlTableModel have over QSqlQuery when you want to display data in a table?
  3. How could we modify the HVAC state machine so that we don't switch from heating to cooling in less than two minutes?
  4. If marketing wanted to store the heat/cooling/fan state changes between runs, how could that be done?
  5. What would it take to make the heating/cooling/fan states available through the WebSocket?
  6. Even though BigProject doesn't store any user data, why should I be concerned with IoT cybersecurity?
  7. Do you consider the WSReporter implementation of the WebSocket server secure? Why or why not?