Debugging for PC

With GDB (GNU Debugger), there is no need for any manual setup if you're using MinGW compiler on Windows, as it usually comes together with your Qt installation. If you're running other operating systems such as Linux, you may need to install it manually before linking it up with your Qt Creator. Qt Creator detects the existence of GDB and links it with your project automatically. If it doesn't, you can easily find the GDB executable located in your Qt directory and link it by yourself.

CDB (Debugging Tools for Windows) on the other hand, needs to be installed manually on your Windows machine. Do note that Qt doesn't support the built-in debugger of Visual Studio. Therefore, you need to install the CDB debugger separately ...

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.