Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QtCreator no debugger set up (Windows)

Tags:

qt

qt-creator

I am trying to use Qt creator on Windows, and when I try to Start Debugging, it says "No debbuger set up". How do I configure it?

like image 506
Elseine Avatar asked Aug 02 '13 08:08

Elseine


2 Answers

This is documented in the Qt Reference Documentation on Setting up the Debugger.

You'll need to install the Debugging tools for Windows (installing the Windows SDK provides this) which will give you the cdb.exe debugger. You may or may not encounter an issue when installing the Windows SDK and require this work around: Error when installing windows SDK 7.1

Now, start Qt Creator and go to Tools -> Build & Run -> Debuggers, verify that you now see Auto-detected CDB. Then go to the Kits tab select Manual -> Desktop and change the Debugger value to the Auto-detected CDB.

Now start your project in Debug mode (F5).

like image 83
Leif Gruenwoldt Avatar answered Oct 21 '22 06:10

Leif Gruenwoldt


Go to Extras -> Properties -> Compile & Run Section. See on tab Compiler if there is a compiler selected. If not select an compiler and set the corresponding debugger. Else you eventually have to manually add a compiler and locate your path to your debugger (MSVC and CDB for example).

like image 20
Sebastian Lange Avatar answered Oct 21 '22 05:10

Sebastian Lange