Lekensteyn / qt5printers

GDB Pretty printers for Qt5
https://bugs.kde.org/show_bug.cgi?id=331044
133 stars 31 forks source link

"There is no member or method named offset." #9

Open anpaza opened 4 years ago

anpaza commented 4 years ago

When trying to print a QVector I get this:

(gdb) p columnWidth $1 = QVector (size = 4)Python Exception <class 'gdb.error'> There is no member or method named offset.:

I get same error with the other qt5 pretty printer from here: https://github.com/KDE/kdevelop/tree/master/plugins/gdb/printers

Unfortunately, I don't have enough knowledge of gdb/Qt internals and can't get what's wrong.

gdb-8.1.1-4.fc28.x86_64 qt5-qtbase-gui-5.11.3-1.fc28.x86_64 python3-3.6.8-3.fc28.x86_64