PDA

View Full Version : Qt 4.7 SDK need step by step config for debug config



qt_gotcha
8th October 2010, 09:11
hi all,
I keep strugling to get debugging information and get the debug helper error. Could somebody walk me through the QtCreator setup? have cleaned my disk and now it has only installed the last SDK:
c:\qt\2010.05\qt\bin (in path)
c:\qt\2010.05\mingw\bin (in path)
c:\qt\2010.05\pythongdb

In QtCreator -> Tools -> Options -> Qt4 ->
Qmake location: c:\qt\2010.05\qt\bin\qmake.exe
Mingw directory: c:\qt\2010.05\qt\bin

In QtCreator -> Tools -> Options -> debugger ->
Tab Gdb -> toolchains: C:\Qt\2010.05\pythongdb\gdb-i686-pc-mingw32.exe with only Mingw checked
no startup script
Tab -> Debugging helper: when I activate debugging helper I get an error, and the checkbox is dark grey anuway but I can activate it.
Use debugging helper from custom location: not activated
Use coe model: not activated

I have naged once on a fresh laptop installing this package to get proper debug information (such as seeing the content of QString) but I don't have that laptop available anymore.
When I installed the SDK package I still had Mingw separately on my disk... could that have bodged the install?

Help greatly appreciated.

marcvanriet
8th October 2010, 20:54
c:\qt\2010.05\mingw\bin
That's a typo, right. Guess it should be c:\qt\2010.05\mingw\bin

qt_gotcha
9th October 2010, 06:34
yes its a typo. I see in the debug output window that gdbmacros.py is activated so I guess somethings are hapening but no QString display in the watches window. I have to add manually foo.toAscii to a Qstring to see its contents