Getting started with the debugging mode

To start an application in the debugging mode, after opening a Qt project, you can use one of the following methods:

  • Pressing the F5 button
  • Using the Start Debugging button, right below the usual Run button with a similar icon, but with a small bug on it
  • Using the main menu entries in the following order: Debug/Start Debugging/Start Debugging

To attach the debugger to a running application, you can use the main menu entries in the following order: Debug/Start Debugging/Attach to Running Application. This will open up the List of Processes window, from which you can choose your application or any other process you want to debug using its process ID or executable name. You can also use the Filter field ...

Get Computer Vision with OpenCV 3 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.