I chose GDB instead of CDB as a debugger in Qt Creator on Windows:

But when I start debugging the program, it fails with this error:
Unable to create a debugger engine of the type "No engine"
It works if I select CDB from Combo. Why am I getting this error and how to fix it? I assume I have GDB if it is included in the combo box, right?
Edit: I see where there might be a problem, but still don't know how to fix it:

[Open the above image in a new tab to see full resolution.] It says “Not Recognized” for GDB.
Edit 2: I just remembered that I was using the MSVC compiler, and the Qt libraries were compiled for MSVC:

Perhaps the reason? Although GDB should be able to debug any executable file, not just the files generated by gcc, so I'm not sure if this is relevant.
source share