PDA

View Full Version : debugging qt



freekill
25th November 2009, 04:18
how do I set-up gdb to be able to debug my qt projects?

I've got the ff. set up right now..gcc, make and qmake..all these working on cmd line on windows..tia.

miwarre
25th November 2009, 09:28
If you have Qt Creator (at least version 1.2.1) installed, you should get everything properly working off-the-shelf. In one occasion, I had to manually add the Qt installation directory to the path; this should be all.

If you do not use Qt Creator, then I am of no help, sorry.

M.

freekill
25th November 2009, 13:13
If you have Qt Creator (at least version 1.2.1) installed, you should get everything properly working off-the-shelf.


I don't have this though as I'm using a different IDE.

squidge
25th November 2009, 20:57
Which? Both Visual Studio (not Express) and Eclipse have dedicated plugins designed for them which does everything for you, and also does the project management, moc, uic & rcc for you.

freekill
26th November 2009, 05:21
I'm using Dev-C++. I tried to see if gdb is set-up using

gdb -c
but I got an unrecognized command.