[Qt-creator] gdbmucros helper add dump classes
Andre Poenitz
andre.poenitz at mathematik.tu-chemnitz.de
Wed Oct 14 18:01:12 CEST 2009
On Wed, Oct 14, 2009 at 02:59:36PM +0400, Rudenko Eugene wrote:
> > You'd need something like
> >
> > d.beginHash();
> > d.putItem("name", "queryItems");
> > d.putItemCount("value", queryItems.size());
> > d.beginItem("exp");
> > d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> > >'*)").put(d.data).put(')')->queryItems()");
> > d.endItem();
> > d.putItem("type", NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> > >");
> > d.putItem("numchild", queryItems.size());
> > d.endHash();
> >
> > [Untested, the quotes in the long line are probably wrong]
> >
> Thank's for Idea, but it's not clear for me what result string is
> needed for this condtruction:
> d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> >'*)").put(d.data).put(')')->queryItems()");
The result should look like
(('QList<QPair<QString,QString> >'*)0x01234568)->queryItems()
(assuming that you don't have configured your Qt with -qtnamespace)
Andre'
More information about the Qt-creator-old
mailing list