[Qt-creator] QtCreator debug shows anonymous union for QVector, QSet, QList, etc
André Pönitz
andre.poenitz at nokia.com
Wed Mar 23 16:14:01 CET 2011
On Wednesday 23 March 2011 15:51:55 ext Alex Reche wrote:
> Ok I found something new. In gdb in the command line I did:
>
> (gdb) call (void *)dlopen("/Applications/Qt Creator.app/Contents/qtc-debugging-helper/92501879/libgdbmacros.dylib",2)
> $7 = (void *) 0x0
> (gdb) call (const char*)dlerror()
> $8 = 0x1c01a55 "dlopen(/Applications/Qt Creator.app/Contents/qtc-debugging-helper/92501879/libgdbmacros.dylib, 2): no suitable image found. Did find:\n\t/Applications/Qt Creator.app/Contents/qtc-debugging-helper/92501879/libgdbmacros.dylib: mach-o, but wrong architecture"
>
> So QtCreator is building the wrong architecture for the helpers. How I can change that?
> Can we build the helpers by hand?
With a bit of fiddling this should be possible.
The code is in
share/qtcreator/gdbmacros/gdbmacros{.pro,.h,.cpp,.p_h}
Ignore the *.py bits there ;-)
Andre'
More information about the Qt-creator-old
mailing list