Testing and Debugging

We often see the word debug when reading tutorials or articles related to programming. But do you know what debugging means? A bug in programming terms means an error or defect within a computer program that prevents the software from operating correctly, which often leads to incorrect output or even a crash.

In this chapter, we will cover the following topics and learn how to debug our Qt project:

  • Debugging techniques
  • Debuggers supported by Qt
  • Unit testing

Let's get started.

Get Hands-On GUI Programming with C++ and Qt5 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.