QT with debugger

I'm new to QT

I downloaded the online install for QT windows in location

http://qt.nokia.com/downloads

I just tried a simple program like printin hello world.

I could run the program. But I can’t debug it. I get errors like

None of the Cdb debugger engines, the Gdb engine, is capable of debugging binary files like "x86-windows-msvc2008-pe-32bit" correctly configured.

Do I have to download another version for debugging or have I skipped any procedure to enable the debugging feature ?. Please help me install QT with a debugger.

+3
source share
4 answers

Do you have Visual Studio installed? You need to install it so that you can use these engines for debugging.

Visual Studio: LINK

!

+1

QtCreator. QtSDK . QtCreator.

+1

Tools -> Options -> Tool Chains , . - Qt mingw, Visual Studio, , , .

+1

, - QtSDK. -, . -, :

  • Qt Creator Tools → Options... → Build & Run, Tool Chains;
  • Auto-detected, Mingw as GCC for Windows targets Clone;
  • , ;
  • Browse... Debugger %QTDIR%\pythongdb\python_2.7based\gdb-i686-pc-mingw32.exe;
  • Save the changes, create a new project (do not forget to select the cloned tool chain) and try debugging.

Does he work?

-1
source

All Articles