[Qt-creator] QtCreator debug shows anonymous union for QVector, QSet, QList, etc

Alex Reche al.exreche at gmail.com
Wed Mar 23 16:22:23 CET 2011


Ok I got it!

I added x86 x86_64 to the CONFIG of the files qmlobserver.pro and
qmlobserver.pro, so now 32 and 64 bits versions of the file are build. After
rebuilding the helpers and restarting QtCreator, I can see the content of my
containers again!

Thanks Andre!

     Alex

On Wed, Mar 23, 2011 at 4:14 PM, André Pönitz <andre.poenitz at nokia.com>wrote:

> 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'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110323/f6d79f00/attachment.html 


More information about the Qt-creator-old mailing list