Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Setting up QT Creator Debugger on Windows



  • When we are going to debug a program in Qt Creator by pressing F5, F10, or F11 we need to have cdb.exe installed on the system or it shows the following message:
    “Unable to create a debugging engine”
    To install cdb.exe on windows we need to do the following steps:

    • Go to https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/
    • Click get the Windows SDK here, download the installer and run it
    • Uncheck all boxes but “Debugging Tools for Windows” and wait until it installs
    • Go to Qt Creator setting and click Manage Kits
    • Select auto detected kit and find the debugger at its property section
    • Click on the manage and specify to the path C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe
    • Everything works well now 😊


Log in to reply