[Development] GDB python pretty printers for common Qt classes

BRM bm_witness at yahoo.com
Tue Jul 23 19:23:32 CEST 2013

> From: "shane.kearns at accenture.com" <shane.kearns at accenture.com>

>To: david.faure at kdab.com; development at qt-project.org 
>Sent: Tuesday, July 23, 2013 10:44 AM
>Subject: Re: [Development] GDB python pretty printers for common Qt classes
>> > I think getting it upstream for Qt5 only would be good.
>> Hell yes :-)
>This is a very good idea.

Yes. Having something directly from Qt Project would be best.

>> > What classes should be pretty-printable?
>> QString is the most important one by far.
>> Collection classes come next.

>The internal format of QString & QByteArray changed between Qt 4 and Qt 5,
>for supporting QStringLiteral. So those most likely need some changes.
>I'd also suggest QUrl, as a commonly used 'string-like' class.

I'd suggest QByteArray be in there too; may be even QVariant.



More information about the Development mailing list