Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to create a debugging engine in QT editor

Tags:

c++

debugging

qt

I have recently installed Qt Creator 4.8.0 based on Qt 5.12.0 and I have it configured like in the image below. However, I haven't managed to start the debugger. As it can be seen, the debugger is correctly set for this kit, the one I'm using right now.

Configuration of QT plugins

Any solution?

Thanks!

like image 498
jevora Avatar asked Jan 25 '19 08:01

jevora


2 Answers

I got the same error, but in my case I was using the MSVC compiler and the kit didn't manage to find the CDB debugger. I was able to fix it by going to "Add or remove programs" -> "Windows Software Development Kit" -> Modify -> Change -> Debugging Tools for Windows.

like image 51
kynnysmatto Avatar answered Oct 31 '22 09:10

kynnysmatto


Wow! I found it!!! Here in the tab "projects", there are several build and run configurations. Despite you select a default kit, the final one being executed is the one in black under this tab.

Before solving

Finally I disabled all of them except the one that was properly configured in the Kits window and it worked. I hope this information is helpful for someone. I don't think that part of the configuration is clear.

After solving

like image 9
jevora Avatar answered Oct 31 '22 09:10

jevora