Hands-On Embedded Programming with Qt : Develop High Performance Applications for Embedded Systems with C++ and Qt 5.

This book uses inductive teaching to teach you how to create embedded, Internet of Things (IoT) devices using Qt 5. The book builds on the first code and introduces new information through hands-on projects and written text. By the end of this book, you will be comfortable with using Qt 5 to develop...

Full description

Saved in:
Bibliographic Details
Online Access: Full text (MCPHS users only)
Main Author: Werner, John
Format: Electronic eBook
Language:English
Published: Birmingham : Packt Publishing, Limited, 2019
Subjects:
Local Note:ProQuest Ebook Central
Table of Contents:
  • Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Section 1: Getting Started with Embedded Qt; Chapter 1: Setting Up the Environment; Technical requirements; Creating our embedded environment; Obtaining the hardware; Loading the firmware; Backing up the SD card; Identifying the SD card device; Grabbing the image; Burning a new image; Connections and first boot; Network configuration; Installing RSync; Preparing the host machine; Installing Qt; Setting up the cross compilation environment; Installing the cross compilation tools
  • Preparing for debuggingAccessing the Target's root directory on the host; Building Qt for the Target; Fixing the sources; Building a program; Configuring the Qt build; Decoding the configure command; Building the code; Synchronizing the new components with the target; Running a quick test to ensure how the program works; Summary; Questions; Further reading; Chapter 2: Writing Your First Qt Application; Technical requirements; Introducing Qt Creator; Starting Qt Creator; Qt Creator welcomes you; The Examples screen; The Tutorials screen; The Projects screen; The left icon bar
  • Greetings from QtCreating a project; Walking through the New File or Project wizard; Choosing a template; Picking a name and location; Selecting a kit; Defining the main window class; Selecting a source control system for your project; Examining the Edit screen; Viewing projects and open files; A place for editing; Presenting outputs; Designing the UI; Placing a text label; Running the code; Protecting your work; Who are you?; Adding a place to type your name; Causing a response; Fixing a mistake; Launching our application in the Qt Creator debugger; Examining the Debug screen
  • Setting a breakpointTripping the breakpoint; Getting some help; Digging deeper; Explaining the push button code; Sending and receiving between objects-signals and slots; Cool things about signals and slots; Rules of signals and slots; Testing; Summary; Questions; Further reading; Chapter 3: Running Your First Application on the Target; Technical requirements; Configuring Qt Creator for our Target; Telling Qt Creator about a new device; Telling Qt Creator about the cross-compiler; Configuring the debugger for the Target; Letting Qt Creator know about our Raspberry Pi Qt build
  • Creating a Qt kitBuilding for the Target; Adding a kit to the project; Building the application; Deploying on the Target; Running the application on the Target; Making a more flexible display using layouts; Debugging on the Target; Troubleshooting debugging; Summary; Questions; Section 2: Working with Embedded Qt; Chapter 4: Important Qt Concepts; Technical requirements; Communicating effectively
  • signals and slots; Quick info
  • Signals and slots; Signals and slots in non-GUI code; Preparing the header; Using the QTimer; Setting up the timer; Connecting the QTimer signal; Finishing the code