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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.